Skip to content

Commit

Permalink
Add arm64 tests to CI
Browse files Browse the repository at this point in the history
Adds arm64 tests to CI workflow. Runs through the emulator,
so may be slower than the amd64 image. Will keep looking for
a way to run native arm64, but I think all GitHub runners are
still x86_64.
  • Loading branch information
rfiorella committed Jul 18, 2023
1 parent 4d9e608 commit d2d2a58
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ats-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,14 @@ jobs:
amanzi_tpls_ver=${{env.AMANZI_TPLS_VER}}
file: Docker/Dockerfile-ATS-build
context: ./Docker
- name: Run tests
id: tests
- name: Run amd64 tests
id: tests_amd64
working-directory: Docker
run:
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest"
- name: Run arm64 tests
id: tests_arm64
working-directory: Docker
run:
docker run --platform=linux/arm64 --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest"

0 comments on commit d2d2a58

Please sign in to comment.