Skip to content

Commit 3e1e20b

Browse files
authored
Merge pull request #1396 from vissarion/ci_fix
Retire ubuntu 20.04
2 parents 4eb2a64 + 51fd341 commit 3e1e20b

File tree

1 file changed

+15
-46
lines changed

1 file changed

+15
-46
lines changed

.github/workflows/minimal.yml

+15-46
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright (c) 2020 Mateusz Loskot <[email protected]>
55
# Copyright (c) 2020-2021 Adam Wulkiewicz, Lodz, Poland
66
#
7-
# Copyright (c) 2022-2023 Oracle and/or its affiliates.
7+
# Copyright (c) 2022-2025 Oracle and/or its affiliates.
88
# Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
99
#
1010
# Use, modification and distribution is subject to the Boost Software License,
@@ -25,9 +25,6 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
b2_toolset: [
28-
clang-3.9,
29-
clang-4.0,
30-
clang-5.0,
3128
clang-6.0,
3229
clang-7,
3330
clang-8,
@@ -40,41 +37,29 @@ jobs:
4037
]
4138

4239
include:
43-
- b2_toolset: clang-3.9
44-
b2_cxxstd: 14
45-
version: "3.9"
46-
os: ubuntu-20.04
47-
- b2_toolset: clang-4.0
48-
b2_cxxstd: 14
49-
version: "4.0"
50-
os: ubuntu-20.04
51-
- b2_toolset: clang-5.0
52-
b2_cxxstd: 14
53-
version: "5.0"
54-
os: ubuntu-20.04
5540
- b2_toolset: clang-6.0
5641
b2_cxxstd: 14
5742
version: "6.0"
58-
os: ubuntu-20.04
43+
os: ubuntu-22.04
5944
- b2_toolset: clang-7
6045
b2_cxxstd: 14,17
6146
version: "7"
62-
os: ubuntu-20.04
47+
os: ubuntu-22.04
6348
- b2_toolset: clang-8
6449
b2_cxxstd: 14,17
6550
version: "8"
66-
os: ubuntu-20.04
51+
os: ubuntu-22.04
6752
- b2_toolset: clang-9
6853
# At some point compilation started to fail with 2a from unknown reason
6954
# It may have something to do with the std library
7055
#b2_cxxstd: 14,17,2a
7156
b2_cxxstd: 14,17
7257
version: "9"
73-
os: ubuntu-20.04
58+
os: ubuntu-22.04
7459
- b2_toolset: clang-10
7560
b2_cxxstd: 14,17,2a
7661
version: "10"
77-
os: ubuntu-20.04
62+
os: ubuntu-22.04
7863
- b2_toolset: clang-11
7964
b2_cxxstd: 14,17,2a
8065
version: "11"
@@ -126,14 +111,11 @@ jobs:
126111
127112
- name: Install
128113
run: |
129-
# Required for compilers not available in ubuntu 20.04
114+
# Required for compilers not available in ubuntu 22.04
130115
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
131116
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
132-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main"
133-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe"
134-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic main"
135-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic universe"
136-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
117+
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ focal main"
118+
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ focal universe"
137119
sudo apt -q -y update
138120
sudo apt -q -y install clang-${{ matrix.version }} g++-multilib
139121
@@ -171,8 +153,6 @@ jobs:
171153
fail-fast: false
172154
matrix:
173155
b2_toolset: [
174-
gcc-5,
175-
gcc-6,
176156
gcc-7,
177157
gcc-8,
178158
gcc-9,
@@ -181,26 +161,18 @@ jobs:
181161
]
182162

183163
include:
184-
- b2_toolset: gcc-5
185-
b2_cxxstd: 14
186-
version: "5"
187-
os: ubuntu-20.04
188-
- b2_toolset: gcc-6
189-
b2_cxxstd: 14
190-
version: "6"
191-
os: ubuntu-20.04
192164
- b2_toolset: gcc-7
193165
b2_cxxstd: 14,17
194166
version: "7"
195-
os: ubuntu-20.04
167+
os: ubuntu-22.04
196168
- b2_toolset: gcc-8
197169
b2_cxxstd: 14,17
198170
version: "8"
199-
os: ubuntu-20.04
171+
os: ubuntu-22.04
200172
- b2_toolset: gcc-9
201173
b2_cxxstd: 14,17,2a
202174
version: "9"
203-
os: ubuntu-20.04
175+
os: ubuntu-22.04
204176
- b2_toolset: gcc-10
205177
b2_cxxstd: 14,17,2a
206178
version: "10"
@@ -245,14 +217,11 @@ jobs:
245217
246218
- name: Install
247219
run: |
248-
# Required for compilers not available in ubuntu 20.04
220+
# Required for compilers not available in ubuntu 22.04
249221
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
250222
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
251-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main"
252-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe"
253-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic main"
254-
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic universe"
255-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
223+
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ focal main"
224+
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ focal universe"
256225
sudo apt -q -y update
257226
sudo apt -q -y install g++-${{ matrix.version }} g++-${{ matrix.version }}-multilib
258227

0 commit comments

Comments
 (0)