ci: deduplicate buildcache workflow using setup-deps action

This commit is contained in:
Dennis Klein
2025-11-30 20:34:20 +01:00
parent a422361ee9
commit 89f9f09c82
2 changed files with 14 additions and 34 deletions

View File

@@ -22,10 +22,14 @@ runs:
color: true
buildcache: true
- name: Find system compiler
shell: spack-bash {0}
run: spack compiler find
- name: Install GCC
shell: spack-bash {0}
run: |
spack install gcc@${{ inputs.gcc }}
spack install ${{ inputs.fresh == 'true' && '--fresh' || '' }} gcc@${{ inputs.gcc }} target=x86_64_v3
spack compiler find $(spack location -i gcc@${{ inputs.gcc }})
- name: Install dependencies