Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spack Actions CI updates #2178

Merged
merged 3 commits into from
May 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Get Spack
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ./spack
repository: ${{ github.event.inputs.spack_repo }}
Expand All @@ -51,15 +51,15 @@ jobs:
spack install

- name: Get DOLFINx code (to access test files)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: main
path: ./dolfinx-main
- name: Run a C++ test (development version)
run: |
. ./spack/share/spack/setup-env.sh
spack env activate cpp-main
spack install py-fenics-ffcx
spack install py-fenics-ffcx@main
cd dolfinx-main/cpp/
cd demo/poisson
cmake .
Expand All @@ -68,7 +68,7 @@ jobs:
mpirun -np 2 ./demo_poisson

- name: Get DOLFINx release code (to access test files)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: main
# ref: v${{ github.event.inputs.spack_branch }}
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
run: |
. ./spack/share/spack/setup-env.sh
spack env activate py-main
mpirun -np 2 python3 ./dolfinx-main/python/demo_elasticity.py
mpirun -np 2 python3 ./dolfinx-main/python/demo/demo_elasticity.py
- name: Run DOLFINx (Python, release) test
run: |
. ./spack/share/spack/setup-env.sh
Expand Down