@@ -43,38 +43,38 @@ jobs:
43
43
- b2_toolset : clang-3.9
44
44
b2_cxxstd : 14
45
45
version : " 3.9"
46
- os : ubuntu-22 .04
46
+ os : ubuntu-20 .04
47
47
- b2_toolset : clang-4.0
48
48
b2_cxxstd : 14
49
49
version : " 4.0"
50
- os : ubuntu-22 .04
50
+ os : ubuntu-20 .04
51
51
- b2_toolset : clang-5.0
52
52
b2_cxxstd : 14
53
53
version : " 5.0"
54
- os : ubuntu-22 .04
54
+ os : ubuntu-20 .04
55
55
- b2_toolset : clang-6.0
56
56
b2_cxxstd : 14
57
57
version : " 6.0"
58
- os : ubuntu-22 .04
58
+ os : ubuntu-20 .04
59
59
- b2_toolset : clang-7
60
60
b2_cxxstd : 14,17
61
61
version : " 7"
62
- os : ubuntu-22 .04
62
+ os : ubuntu-20 .04
63
63
- b2_toolset : clang-8
64
64
b2_cxxstd : 14,17
65
65
version : " 8"
66
- os : ubuntu-22 .04
66
+ os : ubuntu-20 .04
67
67
- b2_toolset : clang-9
68
68
# At some point compilation started to fail with 2a from unknown reason
69
69
# It may have something to do with the std library
70
70
# b2_cxxstd: 14,17,2a
71
71
b2_cxxstd : 14,17
72
72
version : " 9"
73
- os : ubuntu-22 .04
73
+ os : ubuntu-20 .04
74
74
- b2_toolset : clang-10
75
75
b2_cxxstd : 14,17,2a
76
76
version : " 10"
77
- os : ubuntu-22 .04
77
+ os : ubuntu-20 .04
78
78
- b2_toolset : clang-11
79
79
b2_cxxstd : 14,17,2a
80
80
version : " 11"
@@ -126,21 +126,17 @@ jobs:
126
126
127
127
- name : Install
128
128
run : |
129
- # Required for compilers not available in ubuntu 22.04
130
- sudo mkdir -m 0755 -p /etc/apt/keyrings/
131
- curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x40976EAF437D05B5" | gpg --dearmor | sudo tee /etc/apt/keyrings/xenial.gpg > /dev/null
132
- curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3B4FE6ACC0B21F32" | gpg --dearmor | sudo tee /etc/apt/keyrings/bionic.gpg > /dev/null
133
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee /etc/apt/sources.list.d/xenial.list
134
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list.d/xenial.list
135
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ bionic main" | sudo tee -a /etc/apt/sources.list.d/bionic.list
136
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ bionic universe" | sudo tee -a /etc/apt/sources.list.d/bionic.list
137
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ focal main" | sudo tee -a /etc/apt/sources.list.d/focal.list
138
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ focal universe" | sudo tee -a /etc/apt/sources.list.d/focal.list
129
+ # Required for compilers not available in ubuntu 20.04
130
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
131
+ 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"
139
136
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
140
137
sudo apt -q -y update
141
138
sudo apt -q -y install clang-${{ matrix.version }} g++-multilib
142
139
143
-
144
140
- name : Bootstrap boostorg/boost
145
141
run : |
146
142
gcc --version
@@ -188,23 +184,23 @@ jobs:
188
184
- b2_toolset : gcc-5
189
185
b2_cxxstd : 14
190
186
version : " 5"
191
- os : ubuntu-22 .04
187
+ os : ubuntu-20 .04
192
188
- b2_toolset : gcc-6
193
189
b2_cxxstd : 14
194
190
version : " 6"
195
- os : ubuntu-22 .04
191
+ os : ubuntu-20 .04
196
192
- b2_toolset : gcc-7
197
193
b2_cxxstd : 14,17
198
194
version : " 7"
199
- os : ubuntu-22 .04
195
+ os : ubuntu-20 .04
200
196
- b2_toolset : gcc-8
201
197
b2_cxxstd : 14,17
202
198
version : " 8"
203
- os : ubuntu-22 .04
199
+ os : ubuntu-20 .04
204
200
- b2_toolset : gcc-9
205
201
b2_cxxstd : 14,17,2a
206
202
version : " 9"
207
- os : ubuntu-22 .04
203
+ os : ubuntu-20 .04
208
204
- b2_toolset : gcc-10
209
205
b2_cxxstd : 14,17,2a
210
206
version : " 10"
@@ -249,16 +245,13 @@ jobs:
249
245
250
246
- name : Install
251
247
run : |
252
- # Required for compilers not available in ubuntu 22.04
253
- sudo mkdir -m 0755 -p /etc/apt/keyrings/
254
- curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x40976EAF437D05B5" | gpg --dearmor | sudo tee /etc/apt/keyrings/xenial.gpg > /dev/null
255
- curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3B4FE6ACC0B21F32" | gpg --dearmor | sudo tee /etc/apt/keyrings/bionic.gpg > /dev/null
256
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee /etc/apt/sources.list.d/xenial.list
257
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list.d/xenial.list
258
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ bionic main" | sudo tee -a /etc/apt/sources.list.d/bionic.list
259
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ bionic universe" | sudo tee -a /etc/apt/sources.list.d/bionic.list
260
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ focal main" | sudo tee -a /etc/apt/sources.list.d/focal.list
261
- echo "deb [signed-by=/etc/apt/keyrings/xenial.gpg arch=amd64] http://dk.archive.ubuntu.com/ubuntu/ focal universe" | sudo tee -a /etc/apt/sources.list.d/focal.list
248
+ # Required for compilers not available in ubuntu 20.04
249
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
250
+ 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"
262
255
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
263
256
sudo apt -q -y update
264
257
sudo apt -q -y install g++-${{ matrix.version }} g++-${{ matrix.version }}-multilib
0 commit comments