Skip to content

Commit 78db473

Browse files
authored
Extend set of virtual environments (cppcheck-opensource#200)
1 parent d940320 commit 78db473

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/CI-unixish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,29 @@ jobs:
77

88
strategy:
99
matrix:
10-
os: [ubuntu-latest, macos-latest]
11-
fail-fast: false # not worthwhile...
10+
compiler: [clang++, g++]
11+
os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, macos-11.0]
12+
fail-fast: true
1213

1314
runs-on: ${{ matrix.os }}
1415

1516
steps:
1617
- uses: actions/checkout@v2
1718

1819
- name: Install missing software on ubuntu
19-
if: matrix.os == 'ubuntu-latest'
20+
if: matrix.os == 'ubuntu-20.04'
2021
run: |
2122
sudo apt-get update
2223
sudo apt-get install valgrind
2324
2425
- name: make simplecpp
25-
run: make -j$(nproc)
26+
run: make -j$(nproc) CXX=${{ matrix.compiler }}
2627

2728
- name: make test
28-
run: make -j$(nproc) test
29+
run: make -j$(nproc) test CXX=${{ matrix.compiler }}
2930

3031
- name: Run valgrind
31-
if: matrix.os == 'ubuntu-latest'
32+
if: matrix.os == 'ubuntu-20.04'
3233
run: |
33-
valgrind --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --gen-suppressions=all ./testrunner
34+
valgrind --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --gen-suppressions=all --error-exitcode=42 ./testrunner
3435

0 commit comments

Comments
 (0)