Exception stack support and stacktrace improvements #5
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: UKMO-CI-Az | |
on: | |
pull_request: | |
branches: [develop] | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} | |
jobs: | |
build-and-test: | |
if: github.repository_owner == 'JCSDA-internal' | |
name: gnu 11.4.1 (UKMO) | |
runs-on: jedi-self-hosted-ext | |
env: | |
REPO: ${{ github.event.repository.name }} | |
PR: pr-${{ github.event.number }} | |
steps: | |
- name: Pre-submit cleanup | |
run: | | |
rm -fr ./CI || true | |
ls -la ./ | |
- name: Checkout ${{ env.REPO }} | |
uses: actions/checkout@v4 | |
with: | |
path: CI/meto/oops | |
repository: JCSDA-internal/oops | |
- name: Initiate bundle | |
working-directory: CI/meto | |
run: ln -sf oops/CI/meto/* . | |
- name: Checkout jedicmake | |
uses: actions/checkout@v4 | |
with: | |
path: CI/meto/jedicmake | |
repository: JCSDA/jedi-cmake | |
submodules: recursive | |
- name: Build and Test | |
env: | |
WORKDIR: /var/tmp/${{ env.REPO }}/${{ env.PR }} | |
shell: bash | |
run: | | |
az acr login --name ngmssboxjediacr | |
docker run --rm \ | |
--name ${REPO}_${PR}_${GITHUB_SHA::7} \ | |
--volume $PWD/CI/meto:${WORKDIR} \ | |
--env OMPI_ALLOW_RUN_AS_ROOT=1 \ | |
--env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 \ | |
--env OMPI_MCA_rmaps_base_oversubscribe=1 \ | |
--workdir=${WORKDIR} \ | |
--entrypoint=${WORKDIR}/build-and-test \ | |
'ngmssboxjediacr.azurecr.io/jedibase:alma9' | |
- name: Cleanup workspace | |
working-directory: ${{github.workspace}} | |
run: rm -fr CI || true |