Skip to content

Commit 117a471

Browse files
committed
no, they can't be specified at all
1 parent 490f692 commit 117a471

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
-DBUILD_DOCS_NO_HTML:BOOL=${{ !inputs.html }} \
132132
-DBUILD_TESTS:BOOL=${{ inputs.tests }} \
133133
-DBUILD_XMLDUMP:BOOL=${{ inputs.xml-dump-type-sizes }} \
134-
-DINSTALL_XMLDUMP:BOOL=${{ inputs.xml-dump-type-sizes }} \
134+
${{ inputs.xml-dump-type-sizes && '-DINSTALL_XMLDUMP:BOOL=1' || ''}} \
135135
-DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} \
136136
-DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }}
137137
- name: Build DFHack

.github/workflows/build-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ jobs:
9595
win-msvc
9696
- name: Cross-compile
9797
env:
98-
CMAKE_EXTRA_ARGS: '-DBUILD_LIBRARY=${{ inputs.platform-files }} -DBUILD_STONESENSE:BOOL=${{ inputs.stonesense }} -DBUILD_DOCS:BOOL=${{ inputs.docs }} -DBUILD_DOCS_NO_HTML:BOOL=${{ !inputs.html }} -DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} -DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }} -DBUILD_DFLAUNCH:BOOL=${{ inputs.launchdf }} -DBUILD_TESTS:BOOL=${{ inputs.tests }} -DBUILD_XMLDUMP:BOOL=${{ inputs.xml-dump-type-sizes }} -DINSTALL_XMLDUMP:BOOL=${{ inputs.xml-dump-type-sizes }}'
98+
XMLDUMP_ARG: ${{ inputs.xml-dump-type-sizes && '-DINSTALL_XMLDUMP:BOOL=1' || '' }}
99+
CMAKE_EXTRA_ARGS: '-DBUILD_LIBRARY=${{ inputs.platform-files }} -DBUILD_STONESENSE:BOOL=${{ inputs.stonesense }} -DBUILD_DOCS:BOOL=${{ inputs.docs }} -DBUILD_DOCS_NO_HTML:BOOL=${{ !inputs.html }} -DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} -DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }} -DBUILD_DFLAUNCH:BOOL=${{ inputs.launchdf }} -DBUILD_TESTS:BOOL=${{ inputs.tests }} -DBUILD_XMLDUMP:BOOL=${{ inputs.xml-dump-type-sizes }} ${XMLDUMP_ARG}'
99100
run: |
100101
cd build
101102
bash -x build-win64-from-linux.sh

0 commit comments

Comments
 (0)