99
1010 strategy :
1111 matrix :
12+ os : [ubuntu-latest, ubuntu-20.04]
1213 compiler :
13- - pkg : g++-7
14- exe : g++-7
15- - pkg : g++-8
16- exe : g++-8
17- - pkg : g++-9
18- exe : g++-9
19- - pkg : g++-10
20- exe : g++-10
21- - pkg : g++-11
22- exe : g++-11
23- - pkg : clang-8
24- exe : clang++-8
25- - pkg : clang-9
26- exe : clang++-9
27- - pkg : clang-10
28- exe : clang++-10
29- - pkg : clang-11
30- exe : clang++-11
31- - pkg : clang-12
32- exe : clang++-12
33-
34- runs-on : ubuntu-latest
14+ - { pkg: g++-7, exe: g++-7 }
15+ - { pkg: g++-8, exe: g++-8 }
16+ - { pkg: g++-9, exe: g++-9 }
17+ - { pkg: g++-10, exe: g++-10 }
18+ - { pkg: g++-11, exe: g++-11 }
19+ - { pkg: g++-12, exe: g++-12 }
20+ - { pkg: clang-8, exe: clang++-8 }
21+ - { pkg: clang-9, exe: clang++-9 }
22+ - { pkg: clang-10, exe: clang++-10 }
23+ - { pkg: clang-11, exe: clang++-11 }
24+ - { pkg: clang-12, exe: clang++-12 }
25+ - { pkg: clang-13, exe: clang++-13 }
26+ - { pkg: clang-14, exe: clang++-14 }
27+ exclude :
28+ - os : ubuntu-latest
29+ compiler : { pkg: g++-7, exe: g++-7 }
30+ - os : ubuntu-latest
31+ compiler : { pkg: g++-8, exe: g++-8 }
32+ - os : ubuntu-latest
33+ compiler : { pkg: g++-9, exe: g++-9 }
34+ - os : ubuntu-latest
35+ compiler : { pkg: clang-8, exe: clang++-8 }
36+ - os : ubuntu-latest
37+ compiler : { pkg: clang-9, exe: clang++-9 }
38+ - os : ubuntu-latest
39+ compiler : { pkg: clang-10, exe: clang++-10 }
40+ - os : ubuntu-latest
41+ compiler : { pkg: clang-11, exe: clang++-11 }
42+ - os : ubuntu-20.04
43+ compiler : { pkg: g++-10, exe: g++-10 }
44+ - os : ubuntu-20.04
45+ compiler : { pkg: g++-11, exe: g++-11 }
46+ - os : ubuntu-20.04
47+ compiler : { pkg: g++-12, exe: g++-12 }
48+ - os : ubuntu-20.04
49+ compiler : { pkg: clang-12, exe: clang++-12 }
50+ - os : ubuntu-20.04
51+ compiler : { pkg: clang-13, exe: clang++-13 }
52+ - os : ubuntu-20.04
53+ compiler : { pkg: clang-14, exe: clang++-14 }
54+
55+ runs-on : ${{ matrix.os }}
3556
3657 steps :
3758 - uses : actions/checkout@v3
5273 CTEST_OUTPUT_ON_FAILURE : 1
5374 run : ctest --timeout 30 -C Debug -j4
5475
55- linux-extra :
56- timeout-minutes : 15
57-
58- strategy :
59- matrix :
60- compiler : [g++, clang++]
61- id_type : ["std::uint32_t", "std::uint64_t"]
62- cxx_std : [cxx_std_17, cxx_std_20]
63-
64- runs-on : ubuntu-latest
65-
66- steps :
67- - uses : actions/checkout@v3
68- - name : Compile tests
69- working-directory : build
70- env :
71- CXX : ${{ matrix.compiler }}
72- run : |
73- cmake -DENTT_BUILD_TESTING=ON -DENTT_CXX_STD=${{ matrix.cxx_std }} -DENTT_ID_TYPE=${{ matrix.id_type }} ..
74- make -j4
75- - name : Run tests
76- working-directory : build
77- env :
78- CTEST_OUTPUT_ON_FAILURE : 1
79- run : ctest --timeout 30 -C Debug -j4
80-
8176 windows :
8277 timeout-minutes : 15
8378
@@ -107,29 +102,6 @@ jobs:
107102 CTEST_OUTPUT_ON_FAILURE : 1
108103 run : ctest --timeout 30 -C Debug -j4
109104
110- windows-extra :
111- timeout-minutes : 15
112-
113- strategy :
114- matrix :
115- id_type : ["std::uint32_t", "std::uint64_t"]
116- cxx_std : [cxx_std_17, cxx_std_20]
117-
118- runs-on : windows-latest
119-
120- steps :
121- - uses : actions/checkout@v3
122- - name : Compile tests
123- working-directory : build
124- run : |
125- cmake -DENTT_BUILD_TESTING=ON -DENTT_CXX_STD=${{ matrix.cxx_std }} -DENTT_ID_TYPE=${{ matrix.id_type }} ..
126- cmake --build . -j 4
127- - name : Run tests
128- working-directory : build
129- env :
130- CTEST_OUTPUT_ON_FAILURE : 1
131- run : ctest --timeout 30 -C Debug -j4
132-
133105 macos :
134106 timeout-minutes : 15
135107 runs-on : macOS-latest
@@ -147,23 +119,24 @@ jobs:
147119 CTEST_OUTPUT_ON_FAILURE : 1
148120 run : ctest --timeout 30 -C Debug -j4
149121
150- macos- extra :
122+ extra :
151123 timeout-minutes : 15
152124
153125 strategy :
154126 matrix :
127+ os : [windows-latest, macOS-latest, ubuntu-latest]
155128 id_type : ["std::uint32_t", "std::uint64_t"]
156129 cxx_std : [cxx_std_17, cxx_std_20]
157130
158- runs-on : macOS-latest
131+ runs-on : ${{ matrix.os }}
159132
160133 steps :
161134 - uses : actions/checkout@v3
162135 - name : Compile tests
163136 working-directory : build
164137 run : |
165138 cmake -DENTT_BUILD_TESTING=ON -DENTT_CXX_STD=${{ matrix.cxx_std }} -DENTT_ID_TYPE=${{ matrix.id_type }} ..
166- make -j4
139+ cmake --build . -j 4
167140 - name : Run tests
168141 working-directory : build
169142 env :
0 commit comments