Skip to content

Commit

Permalink
wip: Refactor CI to use GitHub actions and generic bash scripts (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Apr 11, 2024
1 parent 9d1f379 commit b4b1b04
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,25 @@ jobs:
loader: [ 'world', 'isobaric-world', 'europe', 'isobaric-europe', 'france', 'france-high' ]
exclude:
- model: 'gfs'
loader: [ 'world', 'isobaric-world' ]
loader: 'europe'
- model: 'gfs'
loader: 'isobaric-europe'
- model: 'gfs'
loader: 'france'
- model: 'gfs'
loader: 'france-high'
- model: 'arpege'
loader: 'france'
- model: 'arpege'
loader: [ 'france', 'france-high' ]
loader: 'france-high'
- model: 'arome'
loader: 'world'
- model: 'arome'
loader: 'isobaric-world'
- model: 'arome'
loader: 'europe'
- model: 'arome'
loader: [ 'world', 'isobaric-world', 'europe', 'isobaric-europe' ]
loader: 'isobaric-europe'
name: Build loaders
if: ${{ !contains(github.event.head_commit.message, 'skip build') }}
runs-on: ubuntu-22.04
Expand All @@ -104,4 +118,4 @@ jobs:
- name: Build image
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/build.sh -m ${{ matrix.model }} -l ${{ matrix.loader }} -p -r "${{ github.job }} ${{ matrix.model }} ${{ matrix.loader }}"
run: bash ./scripts/build.sh -m ${{ matrix.model }} -l ${{ matrix.loader }} -p -r "${{ github.job }} ${{ matrix.model }}-${{ matrix.loader }}"

0 comments on commit b4b1b04

Please sign in to comment.