-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #206 from precice/i170-update-docker-spack-deps
Fix and update spack testing, update `package.py`, rectify checksum of `v2.5.0.1`
- Loading branch information
Showing
5 changed files
with
51 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
# name: Build Spack | ||
# on: | ||
# push: | ||
# branches: | ||
# - "*" | ||
# pull_request: | ||
# branches: | ||
# - "*" | ||
# schedule: | ||
# - cron: '0 4 * * 1' # Schedule it every Sunday | ||
# | ||
# jobs: | ||
# build_spack: | ||
# name: build_spack | ||
# runs-on: ubuntu-latest | ||
# timeout-minutes: 15 | ||
# container: precice/ci-spack-pyprecice-deps-2204 | ||
# defaults: | ||
# run: | ||
# shell: "bash --login -eo pipefail {0}" | ||
# steps: | ||
# - name: Checkout Repository | ||
# uses: actions/checkout@v2 | ||
# - name: Move Package Script | ||
# run: | | ||
# cp -r spack/repo/packages/py-pyprecice/ /py-pyprecice-repo/packages/ | ||
# - name: Try to build py-pyprecice with spack and test it | ||
# run: | | ||
# . /opt/spack/share/spack/setup-env.sh | ||
# spack env activate ci && spack arch | ||
# spack remove py-pyprecice | ||
# spack add pyprecice.test.py-pyprecice@develop && spack develop pyprecice.test.py-pyprecice@develop | ||
# spack install && spack find | ||
# spack load py-pyprecice | ||
# BINDINGS_VERSION=$(python3 -c "import precice; print(precice.__version__)") && echo "Installed version of bindings is ${BINDINGS_VERSION}" | ||
name: Build Spack | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
pull_request: | ||
branches: | ||
- "*" | ||
schedule: | ||
- cron: '0 4 * * 1' # Schedule it every Sunday | ||
|
||
jobs: | ||
build_spack: | ||
name: build_spack | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
container: precice/ci-spack-pyprecice-deps-2404 | ||
defaults: | ||
run: | ||
shell: "bash --login -eo pipefail {0}" | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Move Package Script | ||
run: | | ||
cp -r spack/repo/packages/py-pyprecice/ /py-pyprecice-repo/packages/ | ||
- name: Try to build py-pyprecice@develop with spack and test it | ||
run: | | ||
. /opt/spack/share/spack/setup-env.sh | ||
spack env activate ci && spack arch | ||
spack remove py-pyprecice | ||
spack add pyprecice.test.py-pyprecice@develop && spack develop pyprecice.test.py-pyprecice@develop | ||
spack install && spack find | ||
spack load py-pyprecice | ||
BINDINGS_VERSION=$(python3 -c "import precice; print(precice.__version__)") && echo "Installed version of bindings is ${BINDINGS_VERSION}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...k/ci-spack-pyprecice-deps-2204.dockerfile → ...k/ci-spack-pyprecice-deps-2404.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters