Skip to content

Commit

Permalink
ci(sanitize): downgrade to ubuntu v22.04 (#2353)
Browse files Browse the repository at this point in the history
* ci(sanitize): downgrade to ubuntu v22.04

* Update .github/workflows/sanitize.yml

Co-authored-by: Lars Eggert <[email protected]>
Signed-off-by: Max Inden <[email protected]>

---------

Signed-off-by: Max Inden <[email protected]>
Co-authored-by: Lars Eggert <[email protected]>
  • Loading branch information
mxinden and larseggert authored Jan 13, 2025
1 parent 085fa62 commit c3ecaa6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest] # No Windows support for sanitizers.
# TODO: Unpin ubuntu when https://github.com/rust-lang/rust/issues/111073#issuecomment-2561607617 is fixed.
os: [ubuntu-22.04, macos-latest] # No Windows support for sanitizers.
sanitizer: [address, thread, leak] # TODO: memory
exclude:
# Memory and leak sanitizers are not supported on macOS.
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
RUSTDOCFLAGS: "-Z sanitizer=${{ matrix.sanitizer }}"
ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
if [ "${{ matrix.os }}" = "ubuntu-22.04" ]; then
sudo apt-get install -y --no-install-recommends llvm
TARGET="x86_64-unknown-linux-gnu"
elif [ "${{ matrix.os }}" = "macos-latest" ]; then
Expand Down

0 comments on commit c3ecaa6

Please sign in to comment.