Skip to content

Commit 738cfa9

Browse files
author
Raghuveer Devulapalli
committed
Build on g++-10 and run only in an SDE
1 parent decf00f commit 738cfa9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/c-cpp.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
sudo apt update
20-
sudo apt -y install g++-12 g++-9 libgtest-dev meson curl git cmake
20+
sudo apt -y install g++-12 g++-10 libgtest-dev meson curl git cmake
2121
2222
- name: Install google benchmarks
2323
run: |
@@ -33,27 +33,29 @@ jobs:
3333
mkdir /tmp/sde && tar -xvf /tmp/sde.tar.xz -C /tmp/sde/
3434
sudo mv /tmp/sde/* /opt/sde && sudo ln -s /opt/sde/sde64 /usr/bin/sde
3535
36-
- name: Build with gcc-12 and run tests
36+
- name: Build with gcc-10
3737
env:
38-
CXX: g++-12
38+
CXX: g++-10
3939
run: |
40+
make clean
4041
meson setup --warnlevel 0 --buildtype plain builddir
4142
cd builddir
4243
ninja
43-
./testexe
4444
45-
- name: Run test suite on Intel SDE
46-
run: sde -spr -- ./builddir/testexe
45+
- name: Run test suite on SKX
46+
run: sde -skx -- ./builddir/testexe
4747

48-
- name: Build with gcc-9 and run tests
48+
- name: Build with gcc-12
4949
env:
50-
CXX: g++-9
50+
CXX: g++-12
5151
run: |
5252
make clean
5353
meson setup --warnlevel 0 --buildtype plain builddir
5454
cd builddir
5555
ninja
56-
./testexe
56+
57+
- name: Run test suite on SPR
58+
run: sde -spr -- ./builddir/testexe
5759

5860
compare-benchmarks-with-main:
5961

0 commit comments

Comments
 (0)