Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 635452566
  • Loading branch information
xinhaoyuan authored and copybara-github committed May 20, 2024
1 parent 32eb84a commit 97a74cc
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/bazel_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ jobs:
config: ['default', 'fuzztest']
compilation_mode: ['fastbuild', 'opt', 'dbg']
steps:
# TODO(lszekeres): Remove once the following is fixed:
# https://github.com/actions/runner-images/issues/9491
- name: Reduce ASLR entropy as a temporary workaround
run: |
sudo sysctl -w vm.mmap_rnd_bits=28
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -yq \
clang
sudo apt-get update && sudo apt-get install -yq libstdc++6
- name: Install a newer version of clang
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18 all
- name: Setup --config=fuzztest for Bazel
run: |
bazel run //bazel:setup_configs > fuzztest.bazelrc
Expand All @@ -57,12 +56,12 @@ jobs:
- name: Run all tests with default --config
if: matrix.config == 'default'
run: |
bazel test --build_tests_only --test_output=errors \
bazel test --build_tests_only --test_output=all --noincompatible_check_sharding_support \
-c ${{ matrix.compilation_mode }} -- //... -//centipede/...
- name: Run end-to-end tests with --config=fuzztest
if: matrix.config == 'fuzztest'
run: |
bazel test --build_tests_only --test_output=errors \
bazel test --build_tests_only --test_output=all --noincompatible_check_sharding_support \
-c ${{ matrix.compilation_mode }} --config=fuzztest //e2e_tests:all
- name: Save new cache based on main
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 97a74cc

Please sign in to comment.