mirror of
https://github.com/google/brotli.git
synced 2024-11-24 12:30:15 +00:00
"Hermetise" bazel-java tests
Should fix windows pipeline.
This commit is contained in:
parent
f2372f2f57
commit
4c4b1297c6
4
.github/workflows/build_test.yml
vendored
4
.github/workflows/build_test.yml
vendored
@ -266,7 +266,7 @@ jobs:
|
||||
if: ${{ matrix.build_system == 'bazel' }}
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}/${{ matrix.bazel_project }}
|
||||
bazelisk build -c opt ...:all
|
||||
bazelisk build -c opt ...:all --java_runtime_version=remotejdk_21
|
||||
|
||||
- name: Fix symlinks for Bazel (Windows)
|
||||
if: ${{ matrix.build_system == 'bazel' && runner.os == 'Windows' && matrix.bazel_project == 'java' }}
|
||||
@ -311,7 +311,7 @@ jobs:
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}/${{ matrix.bazel_project }}
|
||||
bazelisk query "tests(...)" --output=label > ${RUNNER_TEMP}/tests.lst
|
||||
[ -s ${RUNNER_TEMP}/tests.lst ] && bazelisk test -c opt ...:all
|
||||
[ -s ${RUNNER_TEMP}/tests.lst ] && bazelisk test -c opt ...:all --java_runtime_version=remotejdk_21
|
||||
bazelisk clean
|
||||
|
||||
- name: Build / Test with Maven
|
||||
|
Loading…
Reference in New Issue
Block a user