|
8 | 8 | - '**' |
9 | 9 |
|
10 | 10 | jobs: |
11 | | - |
12 | | - build_gcc_old_ubuntu_20_04: |
13 | | - runs-on: ubuntu-20.04 |
14 | | - strategy: |
15 | | - fail-fast: false |
16 | | - matrix: |
17 | | - type: [Debug, Release, MinSizeRel] |
18 | | - cc_ver: [4.8, 5, 6] |
19 | | - cpp: [11, 14] |
20 | | - exclude: |
21 | | - - cc_ver: 4.8 |
22 | | - cpp: 14 |
23 | | - |
24 | | - steps: |
25 | | - - uses: actions/checkout@v4 |
26 | | - |
27 | | - - name: Add repositories |
28 | | - run: | |
29 | | - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \ |
30 | | - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe' |
31 | | - |
32 | | - - name: Install Packages |
33 | | - run: sudo apt install gcc-${{matrix.cc_ver}} g++-${{matrix.cc_ver}} |
34 | | - |
35 | | - - name: Create Build Environment |
36 | | - run: cmake -E make_directory ${{runner.workspace}}/build |
37 | | - |
38 | | - - name: Configure CMake |
39 | | - shell: bash |
40 | | - working-directory: ${{runner.workspace}}/build |
41 | | - run: | |
42 | | - cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install \ |
43 | | - -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DCC_COMMS_BUILD_UNIT_TESTS=ON \ |
44 | | - -DCC_COMMS_UNIT_TESTS_USE_SANITIZERS=OFF |
45 | | - env: |
46 | | - CC: gcc-${{matrix.cc_ver}} |
47 | | - CXX: g++-${{matrix.cc_ver}} |
48 | | - |
49 | | - - name: Build |
50 | | - working-directory: ${{runner.workspace}}/build |
51 | | - shell: bash |
52 | | - run: cmake --build . --config ${{matrix.type}} --target install |
53 | | - env: |
54 | | - VERBOSE: 1 |
55 | | - |
56 | | - - name: Test |
57 | | - working-directory: ${{runner.workspace}}/build |
58 | | - shell: bash |
59 | | - run: ctest -V |
60 | | - |
61 | | - build_gcc_ubuntu_20_04: |
62 | | - runs-on: ubuntu-20.04 |
63 | | - strategy: |
64 | | - fail-fast: false |
65 | | - matrix: |
66 | | - type: [Debug, Release, MinSizeRel] |
67 | | - cc_ver: [7, 8] |
68 | | - cpp: [11, 14, 17] |
69 | | - exclude: |
70 | | - - cc_ver: 7 |
71 | | - cpp: 20 |
72 | | - - cc_ver: 8 |
73 | | - cpp: 20 |
74 | | - |
75 | | - steps: |
76 | | - - uses: actions/checkout@v4 |
77 | | - |
78 | | - - name: Prepare Install |
79 | | - run: sudo apt-get update --fix-missing |
80 | | - |
81 | | - - name: Install Packages |
82 | | - run: sudo apt install doxygen dia gcc-${{matrix.cc_ver}} g++-${{matrix.cc_ver}} |
83 | | - |
84 | | - - name: Create Build Environment |
85 | | - run: cmake -E make_directory ${{runner.workspace}}/build |
86 | | - |
87 | | - - name: Configure CMake |
88 | | - shell: bash |
89 | | - working-directory: ${{runner.workspace}}/build |
90 | | - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DCC_COMMS_BUILD_UNIT_TESTS=ON |
91 | | - env: |
92 | | - CC: gcc-${{matrix.cc_ver}} |
93 | | - CXX: g++-${{matrix.cc_ver}} |
94 | | - |
95 | | - - name: Build |
96 | | - working-directory: ${{runner.workspace}}/build |
97 | | - shell: bash |
98 | | - run: cmake --build . --config ${{matrix.type}} --target install |
99 | | - env: |
100 | | - VERBOSE: 1 |
101 | | - |
102 | | - - name: Test |
103 | | - working-directory: ${{runner.workspace}}/build |
104 | | - shell: bash |
105 | | - run: ctest -V |
106 | | - |
107 | 11 | build_gcc_ubuntu_22_04: |
108 | 12 | runs-on: ubuntu-22.04 |
109 | 13 | strategy: |
@@ -194,103 +98,6 @@ jobs: |
194 | 98 | shell: bash |
195 | 99 | run: make doc_comms |
196 | 100 |
|
197 | | - build_clang_old_ubuntu_20_04: |
198 | | - runs-on: ubuntu-20.04 |
199 | | - strategy: |
200 | | - fail-fast: false |
201 | | - matrix: |
202 | | - type: [Debug, Release, MinSizeRel] |
203 | | - cc_ver: ["4.0", "5.0", "6.0"] |
204 | | - cpp: [11, 14, 17] |
205 | | - exclude: |
206 | | - - cc_ver: "4.0" |
207 | | - cpp: 17 |
208 | | - |
209 | | - steps: |
210 | | - - uses: actions/checkout@v4 |
211 | | - |
212 | | - - name: Add repositories |
213 | | - run: | |
214 | | - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \ |
215 | | - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe' |
216 | | - |
217 | | - - name: Prepare Install |
218 | | - run: sudo apt-get update --fix-missing |
219 | | - |
220 | | - - name: Install Packages |
221 | | - run: sudo apt install clang-${{matrix.cc_ver}} |
222 | | - |
223 | | - - name: Create Build Environment |
224 | | - run: cmake -E make_directory ${{runner.workspace}}/build |
225 | | - |
226 | | - - name: Configure CMake |
227 | | - shell: bash |
228 | | - working-directory: ${{runner.workspace}}/build |
229 | | - run: | |
230 | | - cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install \ |
231 | | - -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DCC_COMMS_BUILD_UNIT_TESTS=ON -DCC_COMMS_UNIT_TESTS_USE_SANITIZERS=OFF |
232 | | - env: |
233 | | - CC: clang-${{matrix.cc_ver}} |
234 | | - CXX: clang++-${{matrix.cc_ver}} |
235 | | - |
236 | | - - name: Build |
237 | | - working-directory: ${{runner.workspace}}/build |
238 | | - shell: bash |
239 | | - run: cmake --build . --config ${{matrix.type}} --target install |
240 | | - env: |
241 | | - VERBOSE: 1 |
242 | | - |
243 | | - - name: Test |
244 | | - working-directory: ${{runner.workspace}}/build |
245 | | - shell: bash |
246 | | - run: ctest -V |
247 | | - |
248 | | - build_clang_ubuntu_20_04: |
249 | | - runs-on: ubuntu-20.04 |
250 | | - strategy: |
251 | | - fail-fast: false |
252 | | - matrix: |
253 | | - type: [Debug, Release, MinSizeRel] |
254 | | - cc_ver: [7, 8, 9, 10, 11] |
255 | | - cpp: [11, 14, 17, 20] |
256 | | - exclude: |
257 | | - - cc_ver: 7 |
258 | | - cpp: 20 |
259 | | - - cc_ver: 8 |
260 | | - cpp: 20 |
261 | | - |
262 | | - steps: |
263 | | - - uses: actions/checkout@v4 |
264 | | - |
265 | | - - name: Prepare Install |
266 | | - run: sudo apt-get update --fix-missing |
267 | | - |
268 | | - - name: Install Packages |
269 | | - run: sudo apt install doxygen dia clang-${{matrix.cc_ver}} |
270 | | - |
271 | | - - name: Create Build Environment |
272 | | - run: cmake -E make_directory ${{runner.workspace}}/build |
273 | | - |
274 | | - - name: Configure CMake |
275 | | - shell: bash |
276 | | - working-directory: ${{runner.workspace}}/build |
277 | | - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DCC_COMMS_BUILD_UNIT_TESTS=ON |
278 | | - env: |
279 | | - CC: clang-${{matrix.cc_ver}} |
280 | | - CXX: clang++-${{matrix.cc_ver}} |
281 | | - |
282 | | - - name: Build |
283 | | - working-directory: ${{runner.workspace}}/build |
284 | | - shell: bash |
285 | | - run: cmake --build . --config ${{matrix.type}} --target install |
286 | | - env: |
287 | | - VERBOSE: 1 |
288 | | - |
289 | | - - name: Test |
290 | | - working-directory: ${{runner.workspace}}/build |
291 | | - shell: bash |
292 | | - run: ctest -V |
293 | | - |
294 | 101 | build_clang_ubuntu_22_04: |
295 | 102 | runs-on: ubuntu-22.04 |
296 | 103 | strategy: |
@@ -338,7 +145,7 @@ jobs: |
338 | 145 | fail-fast: false |
339 | 146 | matrix: |
340 | 147 | type: [Debug, Release, MinSizeRel] |
341 | | - cc_ver: [16, 17, 18] |
| 148 | + cc_ver: [16, 17, 18, 19] |
342 | 149 | cpp: [11, 14, 17, 20, 23] |
343 | 150 | exclude: |
344 | 151 | - cc_ver: 16 |
@@ -388,7 +195,7 @@ jobs: |
388 | 195 | strategy: |
389 | 196 | fail-fast: false |
390 | 197 | matrix: |
391 | | - type: [Debug, Release, MinSizeRel] |
| 198 | + type: [Debug, Release] |
392 | 199 | arch: [Win32, x64] |
393 | 200 | cpp: [11, 14, 17] |
394 | 201 |
|
@@ -422,7 +229,7 @@ jobs: |
422 | 229 | strategy: |
423 | 230 | fail-fast: false |
424 | 231 | matrix: |
425 | | - type: [Debug, Release, MinSizeRel] |
| 232 | + type: [Debug, Release] |
426 | 233 | arch: [Win32, x64] |
427 | 234 | cpp: [11, 14, 17, 20] |
428 | 235 |
|
|
0 commit comments