Skip to content

Commit 6b7b9f1

Browse files
committed
ci update envs
1 parent c0f7d91 commit 6b7b9f1

File tree

1 file changed

+13
-49
lines changed

1 file changed

+13
-49
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,18 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
include:
14-
- name: ubuntu-18.04-gcc-7
15-
os: ubuntu-18.04
16-
compiler: gcc-7
17-
18-
- name: ubuntu-18.04-gcc-9
19-
os: ubuntu-18.04
20-
compiler: gcc-9
21-
22-
- name: ubuntu-20.04-gcc-10
14+
- name: ubuntu-20.04-gcc-9
2315
os: ubuntu-20.04
24-
compiler: gcc-10
16+
compiler: gcc-9
2517

2618
- name: ubuntu-20.04-gcc-11
2719
os: ubuntu-20.04
2820
compiler: gcc-11
2921

30-
- name: ubuntu-18.04-clang-5
31-
os: ubuntu-18.04
32-
compiler: clang-5.0
33-
34-
- name: ubuntu-18.04-clang-7
35-
os: ubuntu-18.04
36-
compiler: clang-7
37-
3822
- name: ubuntu-20.04-clang-9
3923
os: ubuntu-20.04
4024
compiler: clang-9
4125

42-
- name: ubuntu-20.04-clang-10
43-
os: ubuntu-20.04
44-
compiler: clang-10
45-
4626
- name: ubuntu-20.04-clang-11
4727
os: ubuntu-20.04
4828
compiler: clang-11
@@ -56,11 +36,11 @@ jobs:
5636
compiler: clang-11
5737
cmake_vars: "-DCMAKE_CXX_FLAGS=-fno-exceptions -DBUILD_TESTING=OFF -DBUILD_BENCHMARK=ON"
5838

59-
- name: ubuntu-22.04
39+
- name: ubuntu-22.04-gcc
6040
os: ubuntu-22.04
6141
compiler: gcc
6242

63-
- name: windows-2019
43+
- name: windows-2019-msvc
6444
os: windows-2019
6545
compiler: msvc
6646

@@ -72,43 +52,27 @@ jobs:
7252
os: windows-2019
7353
compiler: gcc
7454

75-
- name: windows-2022
55+
- name: windows-2022-msvc
7656
os: windows-2022
7757
compiler: msvc
7858

79-
# - name: macOS-11-gcc-7
80-
# os: macOS-11
81-
# compiler: gcc-7
82-
83-
# - name: macOS-11-gcc-8
84-
# os: macOS-11
85-
# compiler: gcc-8
86-
87-
- name: macOS-11-gcc-9
59+
- name: macOS-11-gcc
8860
os: macOS-11
89-
compiler: gcc-9
90-
91-
# - name: macOS-11-clang-11
92-
# os: macOS-11
93-
# compiler: clang-11
94-
95-
- name: macOS-11-clang-12
96-
os: macOS-11
97-
compiler: clang-12
61+
compiler: gcc
9862

99-
- name: macOS-11-clang-13
63+
- name: macOS-11-clang
10064
os: macOS-11
101-
compiler: clang-13
65+
compiler: clang
10266

103-
- name: macOS-12
67+
- name: macOS-12-clang
10468
os: macOS-12
10569
compiler: clang
10670

10771
steps:
10872
- uses: actions/checkout@v3
10973

11074
- name: Setup Cpp
111-
uses: aminya/setup-cpp@v1
75+
uses: aminya/setup-cpp@v0.26.2
11276
with:
11377
compiler: ${{ matrix.compiler }}
11478

@@ -118,7 +82,7 @@ jobs:
11882
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
11983
cmake --build build -j2
12084
cd build && ctest -j2 --output-on-failure
121-
85+
12286
- name: Build & Test Release
12387
run: |
12488
cmake -E remove_directory build
@@ -131,7 +95,7 @@ jobs:
13195
runs-on: ubuntu-latest
13296
steps:
13397
- uses: actions/checkout@v3
134-
98+
13599
- name: Update single include
136100
run: |
137101
mv single_include/inja/inja.hpp single_include/inja/inja_old.hpp

0 commit comments

Comments
 (0)