|
38 | 38 | run: | |
39 | 39 | mkdir -p build |
40 | 40 | cd build |
41 | | - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On "${{ github.workspace }}" |
| 41 | + cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 42 | + -DSTELLARIUM_RELEASE_BUILD=Off \ |
| 43 | + -DENABLE_TESTING=On \ |
| 44 | + "${{ github.workspace }}" |
42 | 45 |
|
43 | 46 | - name: Compile |
44 | 47 | working-directory: build |
@@ -162,7 +165,10 @@ jobs: |
162 | 165 | export PATH="/opt/homebrew/opt/qt@5/bin:/usr/local/opt/qt@5/bin:$PATH" |
163 | 166 | mkdir -p build |
164 | 167 | cd build |
165 | | - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On ${{ github.workspace }} |
| 168 | + cmake -DCMAKE_PREFIX_PATH="/opt/homebrew;/usr/local" \ |
| 169 | + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 170 | + -DSTELLARIUM_RELEASE_BUILD=Off \ |
| 171 | + -DENABLE_TESTING=On ${{ github.workspace }} |
166 | 172 |
|
167 | 173 | - name: Compile |
168 | 174 | working-directory: build |
@@ -198,10 +204,13 @@ jobs: |
198 | 204 | - name: Configure CMake |
199 | 205 | shell: bash |
200 | 206 | run: | |
201 | | - export PATH="/usr/local/opt/qt@6/bin:$PATH" |
| 207 | + export PATH="/usr/local/opt/qt@6:$PATH" |
202 | 208 | mkdir -p build |
203 | 209 | cd build |
204 | | - cmake -DCMAKE_PREFIX_PATH="/usr/local/opt/qt@6;/usr/local/opt/tidy-html5" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On ${{ github.workspace }} |
| 210 | + cmake -DCMAKE_PREFIX_PATH="/usr/local" \ |
| 211 | + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 212 | + -DSTELLARIUM_RELEASE_BUILD=Off \ |
| 213 | + -DENABLE_TESTING=On ${{ github.workspace }} |
205 | 214 |
|
206 | 215 | - name: Compile |
207 | 216 | working-directory: build |
@@ -240,10 +249,14 @@ jobs: |
240 | 249 | - name: Configure CMake |
241 | 250 | shell: bash |
242 | 251 | run: | |
243 | | - export PATH="/usr/local/opt/qt@6/bin:$PATH" |
| 252 | + export PATH="/opt/homebrew/opt/qt@6/bin:$PATH" |
244 | 253 | mkdir -p build |
245 | 254 | cd build |
246 | | - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On ${{ github.workspace }} |
| 255 | + cmake -DCMAKE_PREFIX_PATH="/opt/homebrew" \ |
| 256 | + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 257 | + -DSTELLARIUM_RELEASE_BUILD=Off \ |
| 258 | + -DENABLE_TESTING=On \ |
| 259 | + ${{ github.workspace }} |
247 | 260 |
|
248 | 261 | - name: Compile |
249 | 262 | working-directory: build |
@@ -282,7 +295,10 @@ jobs: |
282 | 295 | export DISPLAY=:0 |
283 | 296 | mkdir builds |
284 | 297 | cd builds |
285 | | - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On "${{ github.workspace }}" |
| 298 | + cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 299 | + -DSTELLARIUM_RELEASE_BUILD=Off \ |
| 300 | + -DENABLE_TESTING=On \ |
| 301 | + "${{ github.workspace }}" |
286 | 302 | make -j3 |
287 | 303 | Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 & |
288 | 304 | sleep 3 |
@@ -310,14 +326,21 @@ jobs: |
310 | 326 | # When using rsync, you can define copyback: false to not copy files back from the VM in to the host. |
311 | 327 | copyback: false |
312 | 328 | prepare: | |
313 | | - pkg install -y cmake git eigen glm exiv2 nlopt fast_float md4c qxlsx-qt6 perl5 xorg-vfbserver gettext qt6 tidy-html5 unarr |
| 329 | + pkg install -y cmake git eigen glm exiv2 nlopt fast_float md4c qxlsx-qt6 perl5 xorg-vfbserver gettext qt6 tidy-html5 |
314 | 330 |
|
315 | 331 | run: | |
316 | 332 | set -e -x |
317 | 333 | export DISPLAY=:0 |
| 334 | + export CMAKE_PREFIX_PATH="/usr/local:$CMAKE_PREFIX_PATH" |
318 | 335 | mkdir builds |
319 | 336 | cd builds |
320 | | - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On "${{ github.workspace }}" |
| 337 | + cmake -DCMAKE_PREFIX_PATH="/usr/local" \ |
| 338 | + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 339 | + -DSTELLARIUM_RELEASE_BUILD=Off \ |
| 340 | + -DENABLE_TESTING=On \ |
| 341 | + -DLIBTIDY_INCLUDE_DIR="/usr/local/include" \ |
| 342 | + -DLIBTIDY_LIBRARY="/usr/local/lib/libtidy5.so" \ |
| 343 | + "${{ github.workspace }}" |
321 | 344 | make -j3 |
322 | 345 | Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 & |
323 | 346 | sleep 3 |
|
0 commit comments