cross compile: build stonesense as well

develop
Kelvie Wong 2023-01-31 17:13:39 -08:00
parent 86962601de
commit cddcf7850d
2 changed files with 2 additions and 2 deletions

@ -145,7 +145,7 @@ jobs:
- name: Cross-compile win64 artifacts
run: |
cd build
bash -x build-win64-from-linux.sh
env CMAKE_EXTRA_ARGS=-DBUILD_STONESENSE:BOOL=1 bash -x build-win64-from-linux.sh
- name: Format artifact name
id: artifactname
run: |

@ -43,7 +43,7 @@ if ! docker run --rm -i -v "$srcdir":/src -v "$srcdir/build/win64-cross/":/src/b
-e CCACHE_DIR=/src/build/ccache \
--name dfhack-win \
ghcr.io/dfhack/build-env:msvc \
bash -c "cd /src/build && dfhack-configure windows 64 Release -DCMAKE_INSTALL_PREFIX=/src/build/output cmake .. -DBUILD_DOCS=1 && dfhack-make -j$jobs install" \
bash -c "cd /src/build && dfhack-configure windows 64 Release -DCMAKE_INSTALL_PREFIX=/src/build/output cmake .. -DBUILD_DOCS=1 $CMAKE_EXTRA_ARGS && dfhack-make -j$jobs install" \
; then
echo
echo "Build failed"