Skip to content

Commit

Permalink
CI updates for new Spack concretiation (#2446)
Browse files Browse the repository at this point in the history
* Updates for package concretisation in CI

* Add missing command
  • Loading branch information
garth-wells committed Nov 12, 2022
1 parent e9730bb commit 1116fd1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ jobs:
- name: Run a C++ test (release version)
run: |
. ./spack/share/spack/setup-env.sh
spack env activate cpp-release
spack install cmake py-fenics-ffcx
spack env create cpp-release-test
spack env activate cpp-release-test
spack add fenics-dolfinx+adios2 cmake py-fenics-ffcx
spack install
cd dolfinx-release/cpp/
cd demo/poisson
cmake .
Expand All @@ -89,8 +91,10 @@ jobs:
- name: Run a C++ test (development version)
run: |
. ./spack/share/spack/setup-env.sh
spack env activate cpp-main
spack install cmake py-fenics-ffcx@main
spack env create cpp-main-test
spack env activate cpp-main-test
spack add fenics-dolfinx@main+adios2 cmake py-fenics-ffcx@main
spack install
cd dolfinx-main/cpp/
cd demo/poisson
cmake .
Expand Down

0 comments on commit 1116fd1

Please sign in to comment.