Skip to content

Commit dddfec6

Browse files
committed
Update ci.yml
1 parent a13c743 commit dddfec6

File tree

1 file changed

+29
-18
lines changed

1 file changed

+29
-18
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,22 @@ jobs:
2929
install: g++-6
3030
- toolset: gcc-7
3131
cxxstd: "03,11,14,17"
32-
os: ubuntu-20.04
32+
container: ubuntu:20.04
33+
os: ubuntu-latest
3334
install: g++-7
3435
- toolset: gcc-8
3536
cxxstd: "03,11,14,17,2a"
36-
os: ubuntu-20.04
37+
container: ubuntu:20.04
38+
os: ubuntu-latest
3739
install: g++-8
3840
- toolset: gcc-9
3941
cxxstd: "03,11,14,17,2a"
40-
os: ubuntu-20.04
42+
container: ubuntu:20.04
43+
os: ubuntu-latest
4144
- toolset: gcc-10
4245
cxxstd: "03,11,14,17,2a"
43-
os: ubuntu-20.04
46+
container: ubuntu:20.04
47+
os: ubuntu-latest
4448
install: g++-10
4549
- toolset: gcc-11
4650
cxxstd: "03,11,14,17,2a"
@@ -80,35 +84,45 @@ jobs:
8084
- toolset: clang
8185
compiler: clang++-6.0
8286
cxxstd: "03,11,14,17"
83-
os: ubuntu-20.04
87+
container: ubuntu:20.04
88+
os: ubuntu-latest
8489
install: clang-6.0
8590
- toolset: clang
8691
compiler: clang++-7
8792
cxxstd: "03,11,14,17"
88-
os: ubuntu-20.04
93+
container: ubuntu:20.04
94+
os: ubuntu-latest
8995
install: clang-7
9096
- toolset: clang
9197
compiler: clang++-8
9298
cxxstd: "03,11,14,17,2a"
93-
os: ubuntu-20.04
99+
container: ubuntu:20.04
100+
os: ubuntu-latest
94101
install: clang-8
95102
- toolset: clang
96103
compiler: clang++-9
97104
cxxstd: "03,11,14,17,2a"
98-
os: ubuntu-20.04
105+
container: ubuntu:20.04
106+
os: ubuntu-latest
99107
install: clang-9
100108
- toolset: clang
101109
compiler: clang++-10
102110
cxxstd: "03,11,14,17,2a"
103-
os: ubuntu-20.04
111+
container: ubuntu:20.04
112+
os: ubuntu-latest
113+
install: clang-10
104114
- toolset: clang
105115
compiler: clang++-11
106116
cxxstd: "03,11,14,17,2a"
107-
os: ubuntu-20.04
117+
container: ubuntu:20.04
118+
os: ubuntu-latest
119+
install: clang-11
108120
- toolset: clang
109121
compiler: clang++-12
110122
cxxstd: "03,11,14,17,2a"
111-
os: ubuntu-20.04
123+
container: ubuntu:20.04
124+
os: ubuntu-latest
125+
install: clang-12
112126
- toolset: clang
113127
compiler: clang++-13
114128
cxxstd: "03,11,14,17,20,2b"
@@ -249,7 +263,7 @@ jobs:
249263
- toolset: gcc
250264
cxxstd: "03,11,14,17,2a"
251265
addrmd: 64
252-
os: windows-2019
266+
os: windows-2022
253267

254268
runs-on: ${{matrix.os}}
255269

@@ -289,7 +303,6 @@ jobs:
289303
fail-fast: false
290304
matrix:
291305
include:
292-
- os: ubuntu-20.04
293306
- os: ubuntu-22.04
294307
- os: ubuntu-24.04
295308
- os: macos-13
@@ -338,7 +351,6 @@ jobs:
338351
fail-fast: false
339352
matrix:
340353
include:
341-
- os: ubuntu-20.04
342354
- os: ubuntu-22.04
343355
- os: ubuntu-24.04
344356
- os: macos-13
@@ -397,7 +409,6 @@ jobs:
397409
fail-fast: false
398410
matrix:
399411
include:
400-
- os: ubuntu-20.04
401412
- os: ubuntu-22.04
402413
- os: ubuntu-24.04
403414
- os: macos-13
@@ -454,8 +465,8 @@ jobs:
454465
fail-fast: false
455466
matrix:
456467
include:
457-
- os: windows-2019
458468
- os: windows-2022
469+
- os: windows-2025
459470

460471
runs-on: ${{matrix.os}}
461472

@@ -503,8 +514,8 @@ jobs:
503514
fail-fast: false
504515
matrix:
505516
include:
506-
- os: windows-2019
507517
- os: windows-2022
518+
- os: windows-2025
508519

509520
runs-on: ${{matrix.os}}
510521

@@ -570,8 +581,8 @@ jobs:
570581
fail-fast: false
571582
matrix:
572583
include:
573-
- os: windows-2019
574584
- os: windows-2022
585+
- os: windows-2025
575586

576587
runs-on: ${{matrix.os}}
577588

0 commit comments

Comments
 (0)