Skip to content
Merged
Show file tree
Hide file tree
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
40 changes: 0 additions & 40 deletions .github/workflows/build-pull-request-spack.yaml

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/build-push-spack-buildcache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,14 @@ jobs:
# Update the index after dependency autopush so partial progress is immediately discoverable.
spack buildcache update-index simphony-spack-buildcache

# Keep the cache focused on dependencies; the PR workflow still builds simphony itself.
# Keep the cache focused on dependencies, then build simphony itself from source.
spack mirror set --no-autopush simphony-spack-buildcache
spack install --reuse --use-buildcache package:never,dependencies:auto simphony ^geant4@${GEANT4_VERSION} ^optix-dev@${OPTIX_VERSION}
spack find --format "{name}{@version} {/hash}" simphony
prefix="$(spack location -i simphony)"
echo "Installed prefix: $prefix"
test -d "$prefix"
(test -f "$prefix/.spack/spec.json" || test -f "$prefix/.spack/spec.yaml")

# Ensure the index is current after the full run as well.
spack buildcache update-index simphony-spack-buildcache
Expand Down
Loading