Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No public description #1193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading