Skip to content

Commit

Permalink
Fix spack workflow for 2.5.1.0.
Browse files Browse the repository at this point in the history
* Add branch for release candidate of 2.5.1.0
* Update build dependencies for release candidate
  • Loading branch information
BenjaminRodenberg committed Aug 27, 2024
1 parent aa0c9f2 commit 32016e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
. /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 add pyprecice.test.py-pyprecice@2.5.1.0 && spack develop pyprecice.test.py-pyprecice@2.5.1.0
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}"
2 changes: 1 addition & 1 deletion spack/ci-spack-pyprecice-deps-2404.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ FROM spack/ubuntu-noble:latest
ADD ./spack/repo /py-pyprecice-repo
RUN spack --color=always env create --without-view ci && \
spack --color=always -e ci repo add /py-pyprecice-repo && \
spack --color=always -e ci add pyprecice.test.py-pyprecice@develop target=x86_64 && \
spack --color=always -e ci add pyprecice.test.py-pyprecice@2.5.1.0 target=x86_64 && \
spack --color=always -e ci install --fail-fast --only=dependencies && \
spack --color=always clean -a
4 changes: 4 additions & 0 deletions spack/repo/packages/py-pyprecice/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ class PyPyprecice(PythonPackage):
version("2.0.0.2", sha256="5f055d809d65ec2e81f4d001812a250f50418de59990b47d6bcb12b88da5f5d7")
version("2.0.0.1", sha256="96eafdf421ec61ad6fcf0ab1d3cf210831a815272984c470b2aea57d4d0c9e0e")

# release candidate
version("2.5.1.0", branch="python-bindings-v2.5.1.0")

for ver in [
"develop",
"2.5.1",
"2.5.0",
"2.4.0",
"2.3.0",
Expand Down

0 comments on commit 32016e8

Please sign in to comment.