Skip to content

Commit 15e6023

Browse files
committed
CI: use one ASAN build and run it without SDE to improve speed
1 parent 8e532fe commit 15e6023

File tree

1 file changed

+2
-42
lines changed

1 file changed

+2
-42
lines changed

.github/workflows/c-cpp.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
- name: Run test suite on SPR
136136
run: sde -spr -- ./builddir/testexe
137137

138-
ADL-ASAN-clang18:
138+
ASAN-clang18:
139139

140140
runs-on: intel-ubuntu-24.04
141141

@@ -170,47 +170,7 @@ jobs:
170170
ninja
171171
172172
- name: Run test suite on SPR
173-
run: sde -adl -- ./builddir/testexe
174-
175-
SPR-ASAN-clang18:
176-
177-
runs-on: intel-ubuntu-24.04
178-
179-
steps:
180-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
181-
182-
- name: Install dependencies
183-
run: |
184-
sudo apt update
185-
sudo apt -y install clang-18 libomp-18-dev libgtest-dev meson curl git
186-
187-
- name: Install Intel SDE
188-
run: |
189-
curl -o /tmp/sde.tar.xz https://downloadmirror.intel.com/859732/sde-external-9.58.0-2025-06-16-lin.tar.xz
190-
mkdir /tmp/sde && tar -xvf /tmp/sde.tar.xz -C /tmp/sde/
191-
sudo mv /tmp/sde/* /opt/sde && sudo ln -s /opt/sde/sde64 /usr/bin/sde
192-
193-
- name: Build examples
194-
env:
195-
CXX: clang++-18
196-
run: |
197-
cd examples
198-
make all
199-
200-
- name: Build
201-
env:
202-
CXX: clang++-18
203-
run: |
204-
make clean
205-
meson setup -Dbuild_tests=true -Duse_openmp=true -Db_sanitize=address,undefined -Dfatal_sanitizers=true -Dasan_ci_dont_validate=true -Db_lundef=false --warnlevel 0 --buildtype release builddir
206-
cd builddir
207-
ninja
208-
209-
- name: Run test suite on SPR
210-
run: sde -spr -- ./builddir/testexe
211-
- name: Run ICL fp16 tests
212-
# Note: This filters for the _Float16 tests based on the number assigned to it, which could change in the future
213-
run: sde -icx -- ./builddir/testexe --gtest_filter="*/simdsort/2*"
173+
run: ./builddir/testexe
214174

215175
SKX-SKL-openmp:
216176

0 commit comments

Comments
 (0)