From 9bc7389a9148f5237ad18b765a0b28f94b239e73 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 13 Jan 2025 12:57:09 +0100 Subject: [PATCH] ci(sanitize): downgrade to ubuntu v22.04 --- .github/workflows/check.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c287de8..05062fb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -65,6 +65,10 @@ jobs: - os: windows-2019 rust-toolchain: stable type: debug + # TODO: Remove once https://github.com/rust-lang/rust/issues/111073#issuecomment-2561607617 is fixed. + - os: ubuntu-22.04 + rust-toolchain: nightly + type: debug env: BUILD_TYPE: ${{ matrix.type == 'release' && '--release' || '' }} runs-on: ${{ matrix.os }} @@ -123,7 +127,8 @@ jobs: if: matrix.type == 'debug' && matrix.rust-toolchain == 'nightly' && endsWith(matrix.os, '-latest') - name: Run tests with sanitizers - if: (matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest') && matrix.rust-toolchain == 'nightly' + # TODO: Unpin ubuntu when https://github.com/rust-lang/rust/issues/111073#issuecomment-2561607617 is fixed. + if: (matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-latest') && matrix.rust-toolchain == 'nightly' env: RUST_LOG: trace ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1