Skip to content

Commit dae0853

Browse files
committed
ci(ngen-build): add action option to build extern or not
1 parent 138e000 commit dae0853

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/ngen-build/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ inputs:
5252
required: false
5353
description: 'Enable mpi support, only available for Linux runners'
5454
default: 'OFF'
55+
build_extern:
56+
required: false
57+
description: 'Use external dependencies where possible'
58+
default: 'OFF'
5559
outputs:
5660
build-dir:
5761
description: "Directory build was performed in"
@@ -198,6 +202,7 @@ runs:
198202
which cmake
199203
cmake --version
200204
cmake -B ${{ inputs.build-dir }} \
205+
-DNGEN_WITH_EXTERN_ALL:BOOL=${{ inputs.build_extern }} \
201206
-DNGEN_WITH_BMI_C:BOOL=${{ inputs.bmi_c }} \
202207
-DNGEN_WITH_PYTHON:BOOL=${{ inputs.use_python }} \
203208
-DNGEN_WITH_UDUNITS:BOOL=${{ inputs.use_udunits }} \

0 commit comments

Comments
 (0)