diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-04-21 09:32:29 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-04-21 13:01:00 +0200 |
commit | aac21b6a1bd9aed5353559fa171926d9a0b79970 (patch) | |
tree | 1048dae4415887ec4fb7036fd3338116a69449da /.github | |
parent | 18a98bd00d367963f31d43e5999aa153ca182256 (diff) | |
download | jazzer-api-aac21b6a1bd9aed5353559fa171926d9a0b79970.tar.gz |
Adjust path to libjvm with JDK 8
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/run-all-tests.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/run-all-tests.yml b/.github/workflows/run-all-tests.yml index 3d735aca..a3830cd1 100644 --- a/.github/workflows/run-all-tests.yml +++ b/.github/workflows/run-all-tests.yml @@ -13,6 +13,7 @@ jobs: build_and_test: runs-on: ${{ matrix.os }} env: + ALL_TARGETS: //... -//third_party/... strategy: matrix: os: [ubuntu-latest, macos-latest] @@ -24,6 +25,10 @@ jobs: - os: macos-latest arch: "darwin" cache: "/private/var/tmp" + - jdk: 8 + jdk8_flag: "--//third_party/jni:jdk_8" + - jdk: 16 + jdk8_flag: "--no//third_party/jni:jdk_8" steps: - uses: actions/checkout@v2 @@ -44,10 +49,10 @@ jobs: run: curl -LO https://github.com/bazelbuild/bazelisk/releases/download/v1.7.5/bazelisk-darwin-amd64 && chmod +x bazelisk-darwin-amd64 - name: Build - run: ./bazelisk-${{ matrix.arch }}-amd64 build --disk_cache=${{ matrix.cache }} -c opt //... + run: ./bazelisk-${{ matrix.arch }}-amd64 build --disk_cache=${{ matrix.cache }} -c opt ${{ matrix.jdk8_flag }} -- ${{ env.ALL_TARGETS }} - name: Test - run: ./bazelisk-${{ matrix.arch }}-amd64 test --disk_cache=${{ matrix.cache }} -c opt --test_tag_filters="-broken-on-${{ matrix.arch }}" //... + run: ./bazelisk-${{ matrix.arch }}-amd64 test --disk_cache=${{ matrix.cache }} -c opt ${{ matrix.jdk8_flag }} --test_tag_filters="-broken-on-${{ matrix.arch }}" -- ${{ env.ALL_TARGETS }} - name: Upload test logs if: always() |