Skip to content

Commit

Permalink
Merge pull request #36 from ecmwf/pygribjump-ci
Browse files Browse the repository at this point in the history
Add pygribjump downstream CI
  • Loading branch information
ChrisspyB authored Jan 31, 2025
2 parents bbbdd37 + 8c6a65c commit 11ceeb5
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .github/ci-config-pygribjump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
dependencies: |
ecmwf/ecbuild
MathisRosenhauer/libaec@master
ecmwf/eccodes
ecmwf/eckit@develop
ecmwf/metkit
ecmwf/fdb
ecmwf/gribjump
dependency_cmake_options: |
ecmwf/gribjump: "-DENABLE_FDB_BUILD_TOOLS=ON"
dependency_branch: develop
parallelism_factor: 8
self_build: false
19 changes: 19 additions & 0 deletions .github/ci-hpc-config-pygribjump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
build:
python: "3.10"
modules:
- ninja
- aec
dependencies:
- ecmwf/ecbuild@develop
- ecmwf/eccodes@develop
- ecmwf/eckit@develop
- ecmwf/metkit@develop
- ecmwf/fdb@develop
- ecmwf/gribjump@develop
dependency_cmake_options:
- "ecmwf/gribjump: '-DENABLE_FDB_BUILD_TOOLS=ON'"
- "ecmwf/fdb: '-DENABLE_LUSTRE=OFF'"
parallel: 64
env:
- ECCODES_SAMPLES_PATH=$ECCODES_DIR/share/eccodes/samples
- ECCODES_DEFINITION_PATH=$ECCODES_DIR/share/eccodes/definitions
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
# Trigger the workflow on push to master or develop, except tag creation
push:
branches:
- 'master'
- 'develop'
- "master"
- "develop"
tags-ignore:
- '**'
- "**"

# Trigger the workflow on pull request
pull_request: ~
Expand All @@ -27,6 +27,7 @@ jobs:
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main
with:
gribjump: ecmwf/gribjump@${{ github.event.pull_request.head.sha || github.sha }}
pygribjump: pygribjump:ecmwf/gribjump@${{ github.event.pull_request.head.sha || github.sha }}
codecov_upload: true
secrets: inherit

Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
with:
gribjump: ecmwf/gribjump@${{ github.event.pull_request.head.sha || github.sha }}
pygribjump: pygribjump:ecmwf/gribjump@${{ github.event.pull_request.head.sha || github.sha }}
secrets: inherit

# Run CI of private downstream packages on HPC
Expand Down

0 comments on commit 11ceeb5

Please sign in to comment.