|
|
@ -20,9 +20,6 @@ on:
|
|
|
|
common-files:
|
|
|
|
common-files:
|
|
|
|
type: boolean
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
default: true
|
|
|
|
launchdf:
|
|
|
|
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
default: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
build-win64:
|
|
|
|
build-win64:
|
|
|
@ -40,7 +37,6 @@ jobs:
|
|
|
|
submodules: true
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Get 3rd party SDKs
|
|
|
|
- name: Get 3rd party SDKs
|
|
|
|
if: inputs.launchdf
|
|
|
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
repository: DFHack/3rdparty
|
|
|
|
repository: DFHack/3rdparty
|
|
|
@ -57,7 +53,7 @@ jobs:
|
|
|
|
win-msvc
|
|
|
|
win-msvc
|
|
|
|
- name: Cross-compile
|
|
|
|
- name: Cross-compile
|
|
|
|
env:
|
|
|
|
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: |
|
|
|
|
run: |
|
|
|
|
cd build
|
|
|
|
cd build
|
|
|
|
bash -x build-win64-from-linux.sh
|
|
|
|
bash -x build-win64-from-linux.sh
|
|
|
|