mirror of https://github.com/ecmwf/eccodes.git
34 lines
868 B
YAML
34 lines
868 B
YAML
name: reusable-ci-hpc
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
eccodes:
|
|
required: false
|
|
type: string
|
|
nightly_test:
|
|
required: false
|
|
type: boolean
|
|
default: false
|
|
|
|
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
|
|
netcdf4
|
|
--parallel: 64
|
|
--cmake-options: |
|
|
-DENABLE_EXTRA_TESTS=1
|
|
${{ inputs.nightly_test && '-DENABLE_PNG=1,-DENABLE_NETCDF=1' || '' }}
|
|
${{ inputs.nightly_test && '--post-script: .github/ci-nightly-test.sh' || '' }}
|
|
${{ inputs.nightly_test && '--force-build: true' || '' }}
|
|
secrets: inherit
|