ci: add --fresh flag to gcc installation

Force fresh concretization to avoid pulling gcc-runtime from public
buildcache which may be built with an incompatible gcc version.
This commit is contained in:
Dennis Klein
2025-11-30 16:03:39 +01:00
parent 399170879c
commit ef98c9c7ec

View File

@@ -52,7 +52,7 @@ jobs:
- name: Install GCC - name: Install GCC
shell: spack-bash {0} shell: spack-bash {0}
run: | run: |
spack install gcc@${{ matrix.gcc }} spack install --fresh gcc@${{ matrix.gcc }}
spack compiler find $(spack location -i gcc@${{ matrix.gcc }}) spack compiler find $(spack location -i gcc@${{ matrix.gcc }})
- name: Install dependencies - name: Install dependencies