Skip to content

Commit

Permalink
ci: Gradle updates (substrait-io#3)
Browse files Browse the repository at this point in the history
- Add gradle action and use for build.
- Update wrapper to gradle 7.4.2
  • Loading branch information
jacques-n authored Apr 10, 2022
1 parent 620c427 commit 900c376
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: ./gradlew build
run: gradle build
isthmus-native-image-mac-linux:
name: Build Isthmus Native Image
runs-on: ${{ matrix.os }}
Expand All @@ -31,10 +33,14 @@ jobs:
with:
graalvm: '22.0.0.2'
java: 'java17'
- run: java -version
- run: gu install native-image
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Report Java Version
run: java -version
- name: Install GraalVM native image
run: gu install native-image
- name: Build with Gradle
run: ./gradlew nativeImage
run: gradle nativeImage
- name: Smoke Test
run: ./isthmus/src/test/script/smoke.sh
- name: Rename the artifact to OS-unique name
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 900c376

Please sign in to comment.