1010 os : [ubuntu-latest]
1111
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
1414
1515 - name : Create Build Environment
1616 run : cmake -E make_directory ${{runner.workspace}}/build
3232 shell : bash
3333 # Execute tests defined by the CMake configuration.
3434 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
35- run : ctest --parallel 2 --timeout 300 --output-on-failure -C $BUILD_TYPE
35+ run : ctest --parallel --timeout 300 --output-on-failure
36+
37+ debug_all_tests :
38+ runs-on : ${{ matrix.os }}
39+ strategy :
40+ matrix :
41+ os : [ubuntu-latest]
42+
43+ steps :
44+ - uses : actions/checkout@v4
45+
46+ - name : Create Build Environment
47+ run : cmake -E make_directory ${{runner.workspace}}/build
48+
49+ - name : Configure CMake All
50+ shell : bash
51+ working-directory : ${{runner.workspace}}/build
52+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=ON -DALL_TESTS=ON
53+
54+ - name : Build All
55+ working-directory : ${{runner.workspace}}/build
56+ shell : bash
57+ # Execute the build. You can specify a specific target with "--target <NAME>"
58+ run : |
59+ cmake --build . --parallel --config Debug
60+
61+ - name : Test All
62+ working-directory : ${{runner.workspace}}/build
63+ shell : bash
64+ # Execute tests defined by the CMake configuration.
65+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
66+ run : ctest --parallel --timeout 300 --output-on-failure -C Debug
3667
3768 release :
3869 runs-on : ${{ matrix.os }}
4172 os : [ubuntu-latest]
4273
4374 steps :
44- - uses : actions/checkout@v3
75+ - uses : actions/checkout@v4
4576
4677 - name : Create Build Environment
4778 run : cmake -E make_directory ${{runner.workspace}}/build
6394 shell : bash
6495 # Execute tests defined by the CMake configuration.
6596 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
66- run : ctest --parallel 2 --timeout 300 --output-on-failure -C Release
97+ run : ctest --parallel --timeout 300 --output-on-failure -C Release
98+
99+ release_all_tests :
100+ runs-on : ${{ matrix.os }}
101+ strategy :
102+ matrix :
103+ os : [ubuntu-latest]
104+
105+ steps :
106+ - uses : actions/checkout@v4
107+
108+ - name : Create Build Environment
109+ run : cmake -E make_directory ${{runner.workspace}}/build
110+
111+ - name : Configure CMake All
112+ shell : bash
113+ working-directory : ${{runner.workspace}}/build
114+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DFAST_BUILD=ON -DALL_TESTS=ON
115+
116+ - name : Build All
117+ working-directory : ${{runner.workspace}}/build
118+ shell : bash
119+ # Execute the build. You can specify a specific target with "--target <NAME>"
120+ run : |
121+ cmake --build . --parallel --config Release
122+
123+ - name : Test All
124+ working-directory : ${{runner.workspace}}/build
125+ shell : bash
126+ # Execute tests defined by the CMake configuration.
127+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
128+ run : ctest --parallel --timeout 300 --output-on-failure -C Release
67129
68130 debug64 :
69131 runs-on : ${{ matrix.os }}
@@ -72,29 +134,60 @@ jobs:
72134 os : [ubuntu-latest]
73135
74136 steps :
75- - uses : actions/checkout@v3
137+ - uses : actions/checkout@v4
76138
77139 - name : Create Build Environment
78140 run : cmake -E make_directory ${{runner.workspace}}/build
79141
80142 - name : Configure CMake
81143 shell : bash
82144 working-directory : ${{runner.workspace}}/build
83- run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DHIGHSINT64=on -DFAST_BUILD=OFF
145+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DHIGHSINT64=on -DFAST_BUILD=OFF
84146
85147 - name : Build
86148 working-directory : ${{runner.workspace}}/build
87149 shell : bash
88150 # Execute the build. You can specify a specific target with "--target <NAME>"
89151 run : |
90- cmake --build . --parallel --config Release
152+ cmake --build . --parallel --config Debug
91153
92154 - name : Test
93155 working-directory : ${{runner.workspace}}/build
94156 shell : bash
95157 # Execute tests defined by the CMake configuration.
96158 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
97- run : ctest --parallel 2 --timeout 300 --output-on-failure -C Release
159+ run : ctest --parallel --timeout 300 --output-on-failure -C Debug
160+
161+ debug64_all_tests :
162+ runs-on : ${{ matrix.os }}
163+ strategy :
164+ matrix :
165+ os : [ubuntu-latest]
166+
167+ steps :
168+ - uses : actions/checkout@v4
169+
170+ - name : Create Build Environment
171+ run : cmake -E make_directory ${{runner.workspace}}/build
172+
173+ - name : Configure CMake All
174+ shell : bash
175+ working-directory : ${{runner.workspace}}/build
176+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=ON -DALL_TESTS=ON
177+
178+ - name : Build All
179+ working-directory : ${{runner.workspace}}/build
180+ shell : bash
181+ # Execute the build. You can specify a specific target with "--target <NAME>"
182+ run : |
183+ cmake --build . --parallel --config Debug
184+
185+ - name : Test All
186+ working-directory : ${{runner.workspace}}/build
187+ shell : bash
188+ # Execute tests defined by the CMake configuration.
189+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
190+ run : ctest --parallel --timeout 300 --output-on-failure -C Debug
98191
99192 Release64 :
100193 runs-on : ${{ matrix.os }}
@@ -103,7 +196,7 @@ jobs:
103196 os : [ubuntu-latest]
104197
105198 steps :
106- - uses : actions/checkout@v3
199+ - uses : actions/checkout@v4
107200
108201 - name : Create Build Environment
109202 run : cmake -E make_directory ${{runner.workspace}}/build
@@ -125,4 +218,35 @@ jobs:
125218 shell : bash
126219 # Execute tests defined by the CMake configuration.
127220 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
128- run : ctest --parallel 2 --timeout 300 --output-on-failure -C Release
221+ run : ctest --parallel --timeout 300 --output-on-failure -C Release
222+
223+ Release64_all_tests :
224+ runs-on : ${{ matrix.os }}
225+ strategy :
226+ matrix :
227+ os : [ubuntu-latest]
228+
229+ steps :
230+ - uses : actions/checkout@v4
231+
232+ - name : Create Build Environment
233+ run : cmake -E make_directory ${{runner.workspace}}/build
234+
235+ - name : Configure CMake All
236+ shell : bash
237+ working-directory : ${{runner.workspace}}/build
238+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DFAST_BUILD=ON -DALL_TESTS=ON
239+
240+ - name : Build All
241+ working-directory : ${{runner.workspace}}/build
242+ shell : bash
243+ # Execute the build. You can specify a specific target with "--target <NAME>"
244+ run : |
245+ cmake --build . --parallel --config Release
246+
247+ - name : Test All
248+ working-directory : ${{runner.workspace}}/build
249+ shell : bash
250+ # Execute tests defined by the CMake configuration.
251+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
252+ run : ctest --parallel --timeout 300 --output-on-failure -C Release
0 commit comments