mirror of
https://github.com/square/okhttp.git
synced 2026-01-14 07:22:20 +03:00
Graal builds in CI (#6649)
This commit is contained in:
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@@ -69,6 +69,7 @@ jobs:
|
||||
|
||||
testzulu11:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -245,4 +246,27 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
./gradlew test
|
||||
./gradlew test
|
||||
|
||||
testgraal:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
- name: Configure JDK
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: 11
|
||||
|
||||
- name: Build ConsoleLauncher
|
||||
run: ./gradlew -PgraalBuild native-image-tests:nativeImage
|
||||
|
||||
- name: Run Checks
|
||||
run: ./native-image-tests/build/graal/ConsoleLauncher
|
||||
|
||||
Reference in New Issue
Block a user