Skip to content

Commit

Permalink
Also fetch the nightly versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 16, 2024
1 parent 127906f commit c9272ab
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/concretize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ jobs:
name=$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]')
if [ "${{ matrix.build_type }}" = "release" ]; then
env=key4hep-release
elif [ "${{ matrix.build_type }}" = "nightly" ]; then
env=key4hep-nightly-opt
else
echo "Unknown build type"
exit 1
fi
cd /
ls -lah /
Expand All @@ -59,6 +51,15 @@ jobs:
git checkout $(cat /${name}/.latest-commit)
source /${name}/.cherry-pick
if [ "${{ matrix.build_type }}" = "release" ]; then
env=key4hep-release
elif [ "${{ matrix.build_type }}" = "nightly" ]; then
env=key4hep-nightly-opt
python3 ${name}/scripts/fetch_nightly_versions.py --path ${name}/environments/key4hep-common/packages.yaml --extra-path ${name}/environments/key4hep-nightly-opt/packages.yaml ""
else
echo "Unknown build type"
exit 1
fi
cd /${name}/environments/${env}
spack env activate .
spack concretize
Expand Down

0 comments on commit c9272ab

Please sign in to comment.