Skip to content

Commit

Permalink
ci: Replace JDK 17 with JDK 21 in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Sep 19, 2023
1 parent 658051c commit 9a28deb
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/run-all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2019]
jdk: [8, 17]
jdk: [8, 21]
include:
- jdk: 21
# Workaround for https://github.com/bazelbuild/bazel/issues/14502
extra_bazel_args: "--jvmopt=-Djava.security.manager=allow"
- os: ubuntu-20.04
arch: "linux"
bazel_args: "//launcher/android:jazzer_android"
cache: "/home/runner/.cache/bazel-disk"
- os: ubuntu-20.04
jdk: 21-ea
# Workaround for https://github.com/bazelbuild/bazel/issues/14502
bazel_args: "--jvmopt=-Djava.security.manager=allow"
arch: "linux"
cache: "/home/runner/.cache/bazel-disk"
- os: macos-12
arch: "macos-x86_64"
bazel_args: "--xcode_version_config=//.github:host_xcodes //launcher/android:jazzer_android"
Expand Down Expand Up @@ -81,7 +78,7 @@ jobs:
shell: bash

- name: Build & Test
run: bazelisk test ${{env.BUILD_BUDDY_CONFIG}} --java_runtime_version=local_jdk_${{ matrix.jdk }} --disk_cache=${{ matrix.cache }} ${{ matrix.bazel_args }} --build_tag_filters="-no-${{ matrix.arch }}-jdk${{ matrix.jdk }},-no-jdk${{ matrix.jdk }}" --test_tag_filters="-no-${{ matrix.arch }}-jdk${{ matrix.jdk }},-no-jdk${{ matrix.jdk }}" //...
run: bazelisk test ${{env.BUILD_BUDDY_CONFIG}} --java_runtime_version=local_jdk_${{ matrix.jdk }} --disk_cache=${{ matrix.cache }} ${{ matrix.bazel_args }} ${{ matrix.extra_bazel_args }} --build_tag_filters="-no-${{ matrix.arch }}-jdk${{ matrix.jdk }},-no-jdk${{ matrix.jdk }}" --test_tag_filters="-no-${{ matrix.arch }}-jdk${{ matrix.jdk }},-no-jdk${{ matrix.jdk }}" //...

- name: Copy Bazel log
if: always()
Expand Down

0 comments on commit 9a28deb

Please sign in to comment.