mirror of https://github.com/ecmwf/eccodes.git
Add macos nightly CI
This commit is contained in:
parent
8accd35bdb
commit
749fea60b0
|
@ -8,15 +8,53 @@ on:
|
||||||
- cron: '0 20 * * *'
|
- cron: '0 20 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test-hpc:
|
||||||
uses: ./.github/workflows/reusable-ci-hpc.yml
|
uses: ./.github/workflows/reusable-ci-hpc.yml
|
||||||
with:
|
with:
|
||||||
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
|
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
|
||||||
nightly_test: true
|
nightly_test: true
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
test-macos:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
name:
|
||||||
|
- clang@macos-13-arm
|
||||||
|
- clang@macos-13-x86
|
||||||
|
include:
|
||||||
|
- name: clang@macos-13-arm
|
||||||
|
labels: [self-hosted, platform-builder-macosx-13.4.1-arm64]
|
||||||
|
os: macos-13-arm
|
||||||
|
compiler: clang
|
||||||
|
compiler_cc: clang
|
||||||
|
compiler_cxx: clang++
|
||||||
|
compiler_fc: gfortran
|
||||||
|
- name: clang@macos-13-x86
|
||||||
|
labels: [self-hosted, platform-builder-macosx-13.4.1-x86_64]
|
||||||
|
os: macos-13-x86
|
||||||
|
compiler: clang
|
||||||
|
compiler_cc: clang
|
||||||
|
compiler_cxx: clang++
|
||||||
|
compiler_fc: gfortran
|
||||||
|
runs-on: ${{ matrix.labels }}
|
||||||
|
env:
|
||||||
|
DEP_TREE: |
|
||||||
|
ecbuild: ~
|
||||||
|
libaec:
|
||||||
|
deps:
|
||||||
|
- ecbuild
|
||||||
|
eccodes:
|
||||||
|
deps:
|
||||||
|
- libaec
|
||||||
|
- ecbuild
|
||||||
|
steps:
|
||||||
|
- uses: ecmwf-actions/reusable-workflows/build-package-with-config@v2
|
||||||
|
with:
|
||||||
|
repository: ecmwf/eccodes@${{ github.sha }}
|
||||||
|
build_config: .github/ci-config.yml
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: [test]
|
needs: [test-hpc, test-macos]
|
||||||
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
|
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
|
||||||
with:
|
with:
|
||||||
skip_checks: true
|
skip_checks: true
|
||||||
|
@ -33,7 +71,8 @@ jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test-hpc
|
||||||
|
- test-macos
|
||||||
- deploy
|
- deploy
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue