Skip to content

Commit e179f4c

Browse files
committed
Run tests on more recent compiler versions
1 parent b991c2f commit e179f4c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ jobs:
4343
include:
4444
# Linux, gcc
4545
- { compiler: gcc-12, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-22.04 }
46-
- { compiler: gcc-12, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
46+
- { compiler: gcc-14, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-22.04 }
47+
- { compiler: gcc-14, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
4748

4849
# Linux, clang
4950
- { compiler: clang-14, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-22.04 }
50-
- { compiler: clang-14, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
51+
- { compiler: clang-19, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-22.04 }
52+
- { compiler: clang-19, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
5153

52-
- { name: Collect coverage, coverage: yes, compiler: gcc-8, cxxstd: '14', boostBranch: boost-1.86.0, os: ubuntu-20.04 }
54+
- { name: Collect coverage, coverage: yes, compiler: gcc-14, cxxstd: '14', boostBranch: boost-1.86.0, os: ubuntu-22.04 }
5355

5456
timeout-minutes: 120
5557
runs-on: ${{matrix.os}}
@@ -124,11 +126,7 @@ jobs:
124126

125127
- name: Boost build
126128
run: |
127-
if [[ "${{matrix.boostBranch}}" == "master" ]]; then
128-
B2_FLAGS="cxxstd=${{matrix.cxxstd}}"
129-
else
130-
B2_FLAGS="cxxflags=-std=c++${{matrix.cxxstd}}"
131-
fi
129+
B2_FLAGS="cxxstd=${{matrix.cxxstd}}"
132130
if [[ "${{matrix.coverage}}" == "yes" ]]; then
133131
B2_FLAGS="$B2_FLAGS cxxflags=--coverage linkflags=--coverage"
134132
fi

0 commit comments

Comments
 (0)