Skip to content

Commit 1ab76ed

Browse files
authored
use less strict compiler preference and add buildcache push
1 parent 9a7be22 commit 1ab76ed

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/github_cmake_nvhpc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ jobs:
2525
spack mirror add rem-gh-cache oci://ghcr.io/rem1776/ci-cache-rocky9
2626
spack compiler find
2727
spack install nvhpc
28+
spack buildcache push rem-gh-cache nvhpc
2829
- name: Install dependencies
2930
run: |
3031
source /opt/spack/share/spack/setup-env.sh
3132
spack compiler find
32-
spack install netcdf-fortran %%nvhpc mpich %%nvhpc libyaml %%nvhpc
33+
spack install netcdf-fortran %nvhpc mpich %nvhpc libyaml %nvhpc
34+
spack buildcache push rem-gh-cache nvhpc
3335
- name: Configure
3436
run: |
3537
source /opt/spack/share/spack/setup-env.sh

0 commit comments

Comments
 (0)