diff options
author | Alon Zakai <azakai@google.com> | 2023-11-16 14:38:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 14:38:23 -0800 |
commit | b43b70df7420414cbafa23e4f41453437e07d0a7 (patch) | |
tree | d6edb6afbe7ea8c67d6218f999201cabc558e539 /.github/workflows | |
parent | 5241d8796c2cf42dca45ebf53d5aea00d8a555d8 (diff) | |
download | binaryen-b43b70df7420414cbafa23e4f41453437e07d0a7.tar.gz binaryen-b43b70df7420414cbafa23e4f41453437e07d0a7.tar.bz2 binaryen-b43b70df7420414cbafa23e4f41453437e07d0a7.zip |
Use clang 15 to avoid ASan test flakes that 14 has (#6125)
Seems to fix #6116
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dc229593..48ae35215 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,6 +151,12 @@ jobs: - uses: actions/checkout@v1 with: submodules: true + - name: install clang + uses: egor-tensin/setup-clang@v1 + with: + # Clang 15 seems to avoid asan flakes that 14 has (#6116). + version: 15 + platform: x64 - name: install ninja run: sudo apt-get install ninja-build - name: install Python dev dependencies @@ -158,7 +164,7 @@ jobs: - name: cmake run: | mkdir -p out - cmake -S . -B out -G Ninja -DCMAKE_INSTALL_PREFIX=out/install -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" + cmake -S . -B out -G Ninja -DCMAKE_INSTALL_PREFIX=out/install -DCMAKE_C_COMPILER=clang-15 -DCMAKE_CXX_COMPILER=clang++-15 -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" - name: build run: cmake --build out - name: test |