diff --git a/.github/workflows/spack.yml b/.github/workflows/spack.yml index 6d1a8110..fee1efb5 100644 --- a/.github/workflows/spack.yml +++ b/.github/workflows/spack.yml @@ -36,6 +36,25 @@ jobs: spack load hdf5+fortran+mpi %gcc@13.1.0 spack mirror create -d ~/mirror --all + spack mirror add nacho ~/mirror + + spack config add "config:install_tree:padded_length:128" + + spack gpg create "My Name" "" + + #mkdir ~/private_gpg_backup + #cp ~/spack/opt/spack/gpg/*.gpg ~/private_gpg_backup + #cp ~/spack/opt/spack/gpg/pubring.* ~/mirror + + spack buildcache push ~/mirror + + spack buildcache keys --install --trust --force + + spack bootstrap mirror --binary-packages ~/mirror + + #spack bootstrap add --trust local-sources /metadata/sources + #spack bootstrap add --trust local-binaries /metadata/binaries + spack env deactivate