Skip to content

Commit

Permalink
Configuration: update actions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelcarmena authored Jul 21, 2020
1 parent ca328ec commit ec35907
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 9 deletions.
19 changes: 10 additions & 9 deletions arrow-libs/examples/.github/workflows/build_arrow-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ jobs:
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
architecture: x64
- uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Checkout orchestrator
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
- name: Install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
$BASEDIR/arrow/scripts/action-install.sh $ARROW_LIB $BRANCH_NAME
- name: Build with Gradle
run: $BASEDIR/arrow/scripts/project-build.sh arrow-examples
run: ./gradlew build
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Check Previous Build Integration"

on: pull_request

jobs:
check-previous_build-integration:

env:
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Checkout orchestrator
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
- name: Check Build Integration
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
$BASEDIR/arrow/scripts/check-build-integration.sh $BRANCH_NAME
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Check Previous Doc Integration"

on: pull_request

jobs:
check-previous_doc-integration:

env:
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Checkout orchestrator
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
- name: Check Doc Integration
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
$BASEDIR/arrow/scripts/check-doc-integration.sh $BRANCH_NAME

0 comments on commit ec35907

Please sign in to comment.