Create reusable CI workflow

This commit is contained in:
Dusan Figala 2023-02-27 13:02:41 +01:00 committed by Daniel Tipping
parent b097fd0e88
commit 325efa1eef
1 changed files with 25 additions and 0 deletions

25
.github/workflows/reusable-ci.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: reusable-ci
on:
workflow_call:
inputs:
eccodes:
required: false
type: string
jobs:
ci:
name: eccodes-ci
uses: ecmwf-actions/reusable-workflows/.github/workflows/ci.yml@v2
with:
repository: ${{ inputs.eccodes || 'ecmwf/eccodes@develop' }}
name_prefix: eccodes-
build_package_inputs: |
repository: ${{ inputs.eccodes || 'ecmwf/eccodes@develop' }}
self_coverage: true
dependencies: |
ecmwf/ecbuild
MathisRosenhauer/libaec@master
dependency_branch: develop
parallelism_factor: 8
secrets: inherit