Skip to content

Commit 636c59b

Browse files
authored
Merge pull request #124 from mat007/fix-ci
Fix CI
2 parents a3c9605 + 80f8cc5 commit 636c59b

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

.github/workflows/ci.yml

+14-16
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
Formatting:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
- name: Formatting
3131
uses: DoozyX/[email protected]
3232
with:
@@ -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}}
@@ -74,7 +76,7 @@ jobs:
7476
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y g++ git cmake
7577
git config --global pack.threads 0
7678
77-
- uses: actions/checkout@v3
79+
- uses: actions/checkout@v4
7880
with:
7981
# For coverage builds fetch the whole history, else only 1 commit using a 'fake ternary'
8082
fetch-depth: ${{ matrix.coverage && '0' || '1' }}
@@ -86,7 +88,7 @@ jobs:
8688
path: boost-root
8789
key: boost-${{matrix.boostBranch}}
8890
- name: Checkout Boost
89-
uses: actions/checkout@v3
91+
uses: actions/checkout@v4
9092
with:
9193
repository: boostorg/boost
9294
ref: ${{matrix.boostBranch}}
@@ -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

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
BOOST_VERSION: 1.71.0
1818
BOOST_ROOT: ${{github.workspace}}/dependencies/boost
1919
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v4
2222
with:
2323
repository: boostorg/boost
2424
ref: boost-${{env.BOOST_VERSION}}

0 commit comments

Comments
 (0)