|
|
|
@ -20,9 +20,6 @@ on:
|
|
|
|
|
common-files:
|
|
|
|
|
type: boolean
|
|
|
|
|
default: true
|
|
|
|
|
launchdf:
|
|
|
|
|
type: boolean
|
|
|
|
|
default: false
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build-win64:
|
|
|
|
@ -40,7 +37,6 @@ jobs:
|
|
|
|
|
submodules: true
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
- name: Get 3rd party SDKs
|
|
|
|
|
if: inputs.launchdf
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
with:
|
|
|
|
|
repository: DFHack/3rdparty
|
|
|
|
@ -57,7 +53,7 @@ jobs:
|
|
|
|
|
win-msvc
|
|
|
|
|
- name: Cross-compile
|
|
|
|
|
env:
|
|
|
|
|
CMAKE_EXTRA_ARGS: '-DBUILD_STONESENSE:BOOL=1 -DBUILD_DOCS:BOOL=${{ inputs.common-files }} -DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} -DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }} -DBUILD_DFLAUNCH:BOOL=${{ inputs.launchdf }}'
|
|
|
|
|
CMAKE_EXTRA_ARGS: '-DBUILD_STONESENSE:BOOL=1 -DBUILD_DOCS:BOOL=${{ inputs.common-files }} -DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} -DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }} -DBUILD_DFLAUNCH:BOOL=1'
|
|
|
|
|
run: |
|
|
|
|
|
cd build
|
|
|
|
|
bash -x build-win64-from-linux.sh
|
|
|
|
|