Split configure + build into separate steps for more granular timing

develop
lethosor 2022-05-01 13:48:54 -04:00
parent 585888c2d3
commit a646ed7313
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 3 additions and 1 deletions

@ -69,7 +69,7 @@ jobs:
- name: Download DF - name: Download DF
run: | run: |
sh ci/download-df.sh sh ci/download-df.sh
- name: Build DFHack - name: Configure DFHack
env: env:
CC: gcc-${{ matrix.gcc }} CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }} CXX: g++-${{ matrix.gcc }}
@ -85,6 +85,8 @@ jobs:
-DBUILD_STONESENSE:BOOL=${{ matrix.plugins == 'all' }} \ -DBUILD_STONESENSE:BOOL=${{ matrix.plugins == 'all' }} \
-DBUILD_SUPPORTED:BOOL=1 \ -DBUILD_SUPPORTED:BOOL=1 \
-DCMAKE_INSTALL_PREFIX="$DF_FOLDER" -DCMAKE_INSTALL_PREFIX="$DF_FOLDER"
- name: Build DFHack
run: |
ninja -C build-ci install ninja -C build-ci install
- name: Run tests - name: Run tests
id: run_tests id: run_tests