summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-11-16 14:38:23 -0800
committerGitHub <noreply@github.com>2023-11-16 14:38:23 -0800
commitb43b70df7420414cbafa23e4f41453437e07d0a7 (patch)
treed6edb6afbe7ea8c67d6218f999201cabc558e539 /.github/workflows
parent5241d8796c2cf42dca45ebf53d5aea00d8a555d8 (diff)
downloadbinaryen-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.yml8
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