aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-linux.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-linux.yml')
-rw-r--r--.github/workflows/test-linux.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml
index 9aa952e45..e27ea37d2 100644
--- a/.github/workflows/test-linux.yml
+++ b/.github/workflows/test-linux.yml
@@ -11,9 +11,7 @@ jobs:
- { id: ubuntu-20.04, name: focal }
compiler:
- 'clang-12'
- - 'clang-11'
- 'gcc-11'
- - 'gcc-10'
cpp_std:
- 'c++11'
- 'c++14'
@@ -21,6 +19,12 @@ jobs:
- 'c++20'
include:
# Limit the older compilers to C++11 mode
+ - os: { id: ubuntu-20.04, name: focal }
+ compiler: 'clang-11'
+ cpp_std: 'c++11'
+ - os: { id: ubuntu-20.04, name: focal }
+ compiler: 'gcc-10'
+ cpp_std: 'c++11'
- os: { id: ubuntu-18.04, name: bionic }
compiler: 'clang-3.9'
cpp_std: 'c++11'
@@ -120,6 +124,7 @@ jobs:
make -j${{ env.procs }} CCXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC
- name: Run tests
+ if: (matrix.cpp_std == 'c++11') && (matrix.compiler == 'gcc-11')
shell: bash
run: |
make -j${{ env.procs }} test CXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC