2023-02-27 12:06:06 +00:00
|
|
|
name: reusable-ci-hpc
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
eccodes:
|
|
|
|
required: false
|
|
|
|
type: string
|
2023-03-31 13:22:43 +00:00
|
|
|
nightly_test:
|
|
|
|
required: false
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2023-02-27 12:06:06 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci-hpc:
|
|
|
|
name: ci-hpc
|
|
|
|
uses: ecmwf-actions/reusable-workflows/.github/workflows/ci-hpc.yml@v2
|
|
|
|
with:
|
|
|
|
name-prefix: eccodes-
|
|
|
|
build-inputs: |
|
|
|
|
--package: ${{ inputs.eccodes || 'ecmwf/eccodes@develop' }}
|
|
|
|
--modules: |
|
|
|
|
ecbuild
|
|
|
|
ninja
|
|
|
|
aec
|
2023-04-05 10:12:03 +00:00
|
|
|
netcdf4/new
|
2023-02-27 12:06:06 +00:00
|
|
|
--parallel: 64
|
2023-04-12 07:45:39 +00:00
|
|
|
--cmake-options: |
|
|
|
|
-DENABLE_EXTRA_TESTS=1
|
|
|
|
${{ inputs.nightly_test && '-DENABLE_PNG=1,-DENABLE_NETCDF=1' || '' }}
|
2023-04-06 11:18:52 +00:00
|
|
|
${{ inputs.nightly_test && '--post-script: .github/ci-nightly-test.sh' || '' }}
|
|
|
|
${{ inputs.nightly_test && '--force-build: true' || '' }}
|
2023-02-27 12:06:06 +00:00
|
|
|
secrets: inherit
|