@@ -41,57 +41,63 @@ jobs:
4141 - name : CodeQL Analysis
4242 uses : github/codeql-action/analyze@v2
4343
44- automake :
44+ autotools :
4545 strategy :
4646 matrix :
4747 include :
4848 - name : Mac GNU
4949 os : macos-latest
5050 cc : gcc
5151 cxx : g++
52- target : tdd
52+ make_args : tdd
5353 - name : Mac Clang
5454 os : macos-latest
5555 cc : clang
5656 cxx : clang++
57- target : tdd
57+ make_args : tdd
5858 - name : Linux GNU
5959 os : ubuntu-latest
6060 cc : gcc
6161 cxx : g++
62- target : tdd
62+ make_args : tdd
6363 - name : Linux Clang
6464 os : ubuntu-latest
6565 cc : clang
6666 cxx : clang++
67- target : tdd
67+ make_args : tdd
6868 - name : GTest 1.5
6969 os : ubuntu-20.04
70- target : check_gtest15
70+ make_args : check_gtest15
7171 - name : GTest 1.6
7272 os : ubuntu-20.04
73- target : check_gtest16
73+ make_args : check_gtest16
7474 - name : GTest 1.7
7575 os : ubuntu-20.04
76- target : check_gtest17
76+ make_args : check_gtest17
7777 - name : GTest 1.8
7878 os : ubuntu-20.04
79- target : check_gtest18
79+ make_args : check_gtest18
8080 - name : GTest 1.10
8181 os : ubuntu-20.04
82- target : check_gtest110
82+ make_args : check_gtest110
8383 - name : GTest 1.11
8484 os : ubuntu-20.04
85- target : check_gtest111
85+ make_args : check_gtest111
8686 - name : GTest 1.12
8787 os : ubuntu-20.04
88- target : check_gtest112
88+ make_args : check_gtest112
8989 - name : Disable long long
9090 os : ubuntu-latest
9191 configure_args : --disable-longlong
92- target : tdd
92+ make_args : tdd
93+ - name : Distribution
94+ os : ubuntu-latest
95+ make_args : dist dist-zip VERSION=latest
96+ - name : Install
97+ os : ubuntu-latest
98+ make_args : DESTDIR=install_autotools install
9399 runs-on : ${{ matrix.os }}
94- name : Automake ${{ matrix.name }}
100+ name : Autotools ${{ matrix.name }}
95101 steps :
96102 - name : Install Python 2
97103 uses : actions/setup-python@v4
@@ -111,7 +117,15 @@ jobs:
111117 autoreconf -i .
112118 ./configure ${{ matrix.configure_args }}
113119 - name : Build and test
114- run : make ${{ matrix.target }}
120+ run : make ${{ matrix.make_args }}
121+ - name : Save Distributions
122+ uses : actions/upload-artifact@v3
123+ with :
124+ name : " Distribution"
125+ path : |
126+ cpputest-latest.tar.gz
127+ cpputest-latest.zip
128+ if : ${{ matrix.name == 'Distribution' }}
115129
116130 cmake :
117131 strategy :
@@ -182,6 +196,20 @@ jobs:
182196 os : ubuntu-latest
183197 cmake_args : -DCMAKE_CXX_STANDARD=20
184198 preset : GNU
199+ - name : GCC-10
200+ os : ubuntu-20.04
201+ cmake_args : >
202+ -DCMAKE_C_COMPILER=gcc-10
203+ -DCMAKE_CXX_COMPILER=g++-10
204+ -DCMAKE_CXX_STANDARD=17
205+ preset : GNU
206+ - name : Clang-11
207+ os : ubuntu-20.04
208+ cmake_args : >
209+ -DCMAKE_C_COMPILER=clang-11
210+ -DCMAKE_CXX_COMPILER=clang++-11
211+ -DCMAKE_CXX_STANDARD=17
212+ preset : Clang
185213 - name : MinGW
186214 os : ubuntu-latest
187215 preset : MinGW
@@ -218,6 +246,10 @@ jobs:
218246 os : macos-latest
219247 preset : defaults
220248 install : true
249+ - name : Apple Clang 14
250+ os : macos-latest
251+ cmake_args : -DCMAKE_CXX_STANDARD=14
252+ preset : Clang
221253 - name : Apple Clang 17
222254 os : macos-latest
223255 cmake_args : -DCMAKE_CXX_STANDARD=17
@@ -401,7 +433,7 @@ jobs:
401433 make CPPUTEST_USE_VPATH=Y -C examples gcov
402434 - name : VPATH Install
403435 make_args : CPPUTEST_USE_VPATH=Y everythingInstall
404- test_cmd :
436+ test_cmd : >
405437 make -f Makefile_using_MakefileWorker flags &&
406438 make -f Makefile_using_MakefileWorker debug
407439 name : Make ${{ matrix.name }}
@@ -464,7 +496,7 @@ jobs:
464496 run : ctest --test-dir cpputest_build --output-on-failure
465497
466498 autotools_msys :
467- name : Automake MSYS
499+ name : Autotools MSYS
468500 runs-on : windows-latest
469501 defaults :
470502 run :
0 commit comments