Skip to content

Commit

Permalink
CI to use exawind-manager containers (#1271)
Browse files Browse the repository at this point in the history
* CI to use exawind-manager containers
  • Loading branch information
psakievich authored Jul 17, 2024
1 parent 4faf299 commit 53f4939
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
container:
image: ecpe4s/exawind-snapshot
env:
SPACK_MANAGER: /spack-manager
EXAWIND_MANAGER: /exawind-manager
E4S_MACHINE: true
steps:
- name: Cancel previous runs
Expand All @@ -38,13 +38,16 @@ jobs:
- name: Tests
run: |
/bin/bash -c " \
source ${SPACK_MANAGER}/start.sh && \
mkdir -p ${SPACK_MANAGER}/environments/exawind && \
cd ${SPACK_MANAGER}/environments/exawind && \
source ${EXAWIND_MANAGER}/start.sh && \
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \
cd ${EXAWIND_MANAGER}/environments/exawind && \
ln -s ${GITHUB_WORKSPACE} nalu-wind && \
source ${SPACK_MANAGER}/start.sh && \
spack-start && \
spack -e e4s-build config add view:true && \
spack -e e4s-build add cmake && \
spack -e e4s-build install && \
quick-create-dev -s nalu-wind@master+tioga+hypre && \
spack manager external --latest --blacklist nalu-wind gmake && \
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind gmake && \
spack install && \
spack cd -b nalu-wind && \
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \
Expand All @@ -55,7 +58,7 @@ jobs:
container:
image: ecpe4s/exawind-snapshot
env:
SPACK_MANAGER: /spack-manager
EXAWIND_MANAGER: /exawind-manager
E4S_MACHINE: true
steps:
- name: Cancel previous runs
Expand All @@ -69,13 +72,16 @@ jobs:
- name: Tests
run: |
/bin/bash -c " \
source ${SPACK_MANAGER}/start.sh && \
mkdir -p ${SPACK_MANAGER}/environments/exawind && \
cd ${SPACK_MANAGER}/environments/exawind && \
source ${EXAWIND_MANAGER}/start.sh && \
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \
cd ${EXAWIND_MANAGER}/environments/exawind && \
ln -s ${GITHUB_WORKSPACE} nalu-wind && \
source ${SPACK_MANAGER}/start.sh && \
spack-start && \
spack -e e4s-build config add view:true && \
spack -e e4s-build add cmake && \
spack -e e4s-build install && \
quick-create-dev -s nalu-wind@master+tioga+hypre~trilinos-solvers && \
spack manager external --latest --blacklist nalu-wind gmake && \
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind gmake && \
spack install && \
spack cd -b nalu-wind && \
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \
Expand Down

0 comments on commit 53f4939

Please sign in to comment.