Skip to content

Commit

Permalink
Apply changes to Epetra=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Aug 29, 2023
1 parent a4f99c2 commit 3bbdc6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-gpu-epetraOFF.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:

jobs:
check_requirements:
check_requirements:
runs-on: self-hosted
strategy:
fail-fast: true
Expand Down Expand Up @@ -75,3 +75,5 @@ jobs:
tags: ${{ env.DOCKER_TAG }}
context: .
file: ./nga-ci/gpu-epetraOFF.dockerfile
- name: Run Docker container
run: docker run --gpus all ${{ env.DOCKER_TAG }} /opt/src/Trilinos/nga-ci/test-gpu.sh
11 changes: 2 additions & 9 deletions nga-ci/gpu-epetraOFF.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,5 @@ RUN mkdir -p /opt/build/Trilinos
# Build using the spack environment we created
RUN bash /opt/src/Trilinos/nga-ci/build-gpu-epetraOFF.sh

FROM build-stage AS test-stage

ARG OMPI_ALLOW_RUN_AS_ROOT=1
ARG OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1

RUN bash /opt/src/Trilinos/nga-ci/test-gpu.sh

FROM scratch AS export-stage
COPY --from=test-stage /tmp/artifacts /tmp/artifacts
# For running later
RUN chmod +x /opt/src/Trilinos/nga-ci/test-gpu.sh

0 comments on commit 3bbdc6d

Please sign in to comment.