Adding windspeed varobs test and oceanwinds var_cx test #532
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} | |
env: | |
REPO: ${{ github.event.repository.name }} | |
BUNDLE: pr-${{ github.event.number }} | |
jobs: | |
build1: | |
if: github.repository_owner == 'MetOffice' | |
name: gnu-openmpi (JCSDA) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/${{ env.REPO }} | |
- name: initiate bundle | |
run: cp ./${{ env.BUNDLE }}/${{ env.REPO }}/ci/* ./${{ env.BUNDLE }}/ | |
- name: Checkout jedicmake | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/jedicmake | |
repository: JCSDA-internal/jedi-cmake | |
submodules: true | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout oops | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/oops | |
repository: JCSDA-internal/oops | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout attempt for oops@${{ github.head_ref }} | |
if: github.event_name == 'pull_request' | |
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/oops | |
- name: Checkout ioda | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/ioda | |
repository: JCSDA-internal/ioda | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout attempt for ioda@${{ github.head_ref }} | |
if: github.event_name == 'pull_request' | |
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/ioda | |
- name: Checkout ufo | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/ufo | |
repository: JCSDA-internal/ufo | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout attempt for ufo@${{ github.head_ref }} | |
if: github.event_name == 'pull_request' | |
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/ufo | |
- name: build and test | |
run: | | |
docker run --rm \ | |
--entrypoint=/usr/local/src/${REPO}/${BUNDLE}/build-and-test \ | |
--workdir=/usr/local/src/${REPO}/${BUNDLE} \ | |
--volume ${PWD}/${BUNDLE}:/usr/local/src/${REPO}/${BUNDLE} \ | |
'jcsda/docker-gnu-openmpi-dev:latest' | |
build2: | |
if: github.repository_owner == 'MetOffice' | |
name: clang-mpich (JCSDA) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/${{ env.REPO }} | |
- name: initiate bundle | |
run: cp ./${{ env.BUNDLE }}/${{ env.REPO }}/ci/* ./${{ env.BUNDLE }}/ | |
- name: Checkout jedicmake | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/jedicmake | |
repository: JCSDA-internal/jedi-cmake | |
submodules: true | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout oops | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/oops | |
repository: JCSDA-internal/oops | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout attempt for oops@${{ github.head_ref }} | |
if: github.event_name == 'pull_request' | |
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/oops | |
- name: Checkout ioda | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/ioda | |
repository: JCSDA-internal/ioda | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout attempt for ioda@${{ github.head_ref }} | |
if: github.event_name == 'pull_request' | |
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/ioda | |
- name: Checkout ufo | |
uses: actions/checkout@v4 | |
with: | |
path: ./${{ env.BUNDLE }}/ufo | |
repository: JCSDA-internal/ufo | |
token: ${{ secrets.GH_PAT }} | |
- name: Checkout attempt for ufo@${{ github.head_ref }} | |
if: github.event_name == 'pull_request' | |
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/ufo | |
- name: Build and Test | |
run: | | |
docker run --rm \ | |
--entrypoint=/usr/local/src/${REPO}/${BUNDLE}/build-and-test \ | |
--workdir=/usr/local/src/${REPO}/${BUNDLE} \ | |
--volume ${PWD}/${BUNDLE}:/usr/local/src/${REPO}/${BUNDLE} \ | |
'jcsda/docker-clang-mpich-dev:latest' |