Skip to content

Commit 1ae6a82

Browse files
authored
upgraded CI (#31)
1 parent a0a734c commit 1ae6a82

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,20 @@ jobs:
3838
address-model: 32,64
3939
- toolset: gcc-7
4040
cxxstd: "11,14,17"
41-
os: ubuntu-20.04
41+
container: ubuntu:20.04
42+
os: ubuntu-latest
4243
install: g++-7-multilib
4344
address-model: 32,64
4445
- toolset: gcc-8
4546
cxxstd: "11,14,17,2a"
46-
os: ubuntu-20.04
47+
container: ubuntu:20.04
48+
os: ubuntu-latest
4749
install: g++-8-multilib
4850
address-model: 32,64
4951
- toolset: gcc-9
5052
cxxstd: "11,14,17,2a"
51-
os: ubuntu-20.04
53+
container: ubuntu:20.04
54+
os: ubuntu-latest
5255
install: g++-9-multilib
5356
address-model: 32,64
5457
- toolset: gcc-10
@@ -109,25 +112,33 @@ jobs:
109112
- toolset: clang
110113
compiler: clang++-8
111114
cxxstd: "11,14,17"
112-
os: ubuntu-20.04
115+
container: ubuntu:20.04
116+
os: ubuntu-latest
113117
install: clang-8
114118
- toolset: clang
115119
compiler: clang++-9
116120
cxxstd: "11,14,17,2a"
117-
os: ubuntu-20.04
121+
container: ubuntu:20.04
122+
os: ubuntu-latest
118123
install: clang-9
119124
- toolset: clang
120125
compiler: clang++-10
121126
cxxstd: "11,14,17,2a"
122-
os: ubuntu-20.04
127+
container: ubuntu:20.04
128+
os: ubuntu-latest
129+
install: clang-10
123130
- toolset: clang
124131
compiler: clang++-11
125132
cxxstd: "11,14,17,2a"
126-
os: ubuntu-20.04
133+
container: ubuntu:20.04
134+
os: ubuntu-latest
135+
install: clang-11
127136
- toolset: clang
128137
compiler: clang++-12
129138
cxxstd: "11,14,17,20"
130-
os: ubuntu-20.04
139+
container: ubuntu:20.04
140+
os: ubuntu-latest
141+
install: clang-12
131142
- toolset: clang
132143
compiler: clang++-13
133144
cxxstd: "11,14,17,20,2b"
@@ -239,14 +250,6 @@ jobs:
239250
fail-fast: false
240251
matrix:
241252
include:
242-
- toolset: msvc-14.0
243-
cxxstd: 14,latest
244-
addrmd: 32,64
245-
os: windows-2019
246-
- toolset: msvc-14.2
247-
cxxstd: "14,17,20,latest"
248-
addrmd: 32,64
249-
os: windows-2019
250253
- toolset: msvc-14.3
251254
cxxstd: "14,17,20,latest"
252255
addrmd: 32,64
@@ -258,7 +261,7 @@ jobs:
258261
- toolset: gcc
259262
cxxstd: "11,14,17,2a"
260263
addrmd: 64
261-
os: windows-2019
264+
os: windows-2022
262265

263266
runs-on: ${{matrix.os}}
264267

appveyor.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ branches:
1111
only:
1212
- master
1313
- develop
14-
14+
1515
environment:
1616
matrix:
1717
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
1818
TOOLSET: msvc-14.0
1919
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2020
TOOLSET: msvc-14.1
2121
CXXSTD: 14,17
22+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
23+
TOOLSET: msvc-14.2
24+
CXXSTD: 14,17,20,latest
2225

2326
install:
2427
- cd ..
@@ -34,4 +37,4 @@ build: off
3437

3538
test_script:
3639
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
37-
- b2 libs/poly_collection/test toolset=%TOOLSET% %CXXSTD%
40+
- b2 libs/poly_collection/test toolset=%TOOLSET% %CXXSTD%

0 commit comments

Comments
 (0)