Skip to content

Commit 80f8cc5

Browse files
committed
Test more recent compiler and boost versions
1 parent 6b735c4 commit 80f8cc5

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/ci.yml

+11-13
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,19 @@ jobs:
4242
matrix:
4343
include:
4444
# Linux, gcc
45-
- { compiler: gcc-5, cxxstd: '14', boostBranch: boost-1.65.0, os: ubuntu-22.04, container: 'ubuntu:18.04' }
46-
- { compiler: gcc-5, cxxstd: '14', boostBranch: boost-1.77.0, os: ubuntu-22.04, container: 'ubuntu:18.04' }
47-
- { compiler: gcc-12,cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
48-
45+
- { compiler: gcc-7, cxxstd: '14,17', boostBranch: boost-1.86.0, os: ubuntu-20.04 }
46+
- { compiler: gcc-10, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-22.04 }
47+
- { compiler: gcc-12, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
48+
- { compiler: gcc-14, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-24.04 }
49+
- { compiler: gcc-14, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-24.04 }
50+
4951
# Linux, clang
50-
- { compiler: clang-5.0, cxxstd: '14', boostBranch: boost-1.65.0, os: ubuntu-22.04, container: 'ubuntu:18.04' }
51-
- { compiler: clang-5.0, cxxstd: '14', boostBranch: boost-1.77.0, os: ubuntu-22.04, container: 'ubuntu:18.04' }
52-
- { compiler: clang-14, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-22.04 }
52+
- { compiler: clang-14, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-24.04 }
53+
- { compiler: clang-18, cxxstd: '14,17,20', boostBranch: boost-1.86.0, os: ubuntu-24.04 }
54+
- { compiler: clang-18, cxxstd: '14,17,20', boostBranch: master, os: ubuntu-24.04 }
5355

5456
- { name: Collect coverage, coverage: yes,
55-
compiler: gcc-8, cxxstd: '14', boostBranch: master, os: ubuntu-20.04 }
57+
compiler: gcc-8, cxxstd: '14', boostBranch: boost-1.86.0, os: ubuntu-20.04 }
5658

5759
timeout-minutes: 120
5860
runs-on: ${{matrix.os}}
@@ -127,11 +129,7 @@ jobs:
127129

128130
- name: Boost build
129131
run: |
130-
if [[ "${{matrix.boostBranch}}" == "master" ]]; then
131-
B2_FLAGS="cxxstd=${{matrix.cxxstd}}"
132-
else
133-
B2_FLAGS="cxxflags=-std=c++${{matrix.cxxstd}}"
134-
fi
132+
B2_FLAGS="cxxstd=${{matrix.cxxstd}}"
135133
if [[ "${{matrix.coverage}}" == "yes" ]]; then
136134
B2_FLAGS="$B2_FLAGS cxxflags=--coverage linkflags=--coverage"
137135
fi

0 commit comments

Comments
 (0)