From 21934b645e58d9aa5618e3e6df35abdb73a6cf21 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 13 Jan 2025 12:07:36 +0100 Subject: [PATCH 1/2] ci(sanitize): downgrade to ubuntu v22.04 --- .github/workflows/sanitize.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sanitize.yml b/.github/workflows/sanitize.yml index 3c52b85779..d0c3bdd30b 100644 --- a/.github/workflows/sanitize.yml +++ b/.github/workflows/sanitize.yml @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] # No Windows support for sanitizers. + 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. @@ -62,7 +62,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 From 61a03b807b1d56ee574a11c8217830e489237aa9 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 13 Jan 2025 12:48:50 +0100 Subject: [PATCH 2/2] Update .github/workflows/sanitize.yml Co-authored-by: Lars Eggert Signed-off-by: Max Inden --- .github/workflows/sanitize.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sanitize.yml b/.github/workflows/sanitize.yml index d0c3bdd30b..262f3a48ac 100644 --- a/.github/workflows/sanitize.yml +++ b/.github/workflows/sanitize.yml @@ -29,6 +29,7 @@ jobs: strategy: fail-fast: false matrix: + # 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: