Skip to content

Commit ec318b1

Browse files
committed
try pipeline again
1 parent 9ae5916 commit ec318b1

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/single-platform.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Configure and Make
4242
run: |
4343
. ./spack/share/spack/setup-env.sh
44-
44+
4545
if [[ "${{ matrix.compiler }}" == "GCC" ]]; then
4646
eval "$(spack load --sh openmpi)"
4747
elif [[ "${{ matrix.compiler }}" == "ICC" ]]; then
@@ -86,6 +86,28 @@ jobs:
8686
name: sparseBench-SCS-${{ matrix.compiler }}
8787
path: ./executables
8888

89+
- name: Set up Spack
90+
uses: spack/setup-spack@v2
91+
with:
92+
ref: develop
93+
buildcache: true
94+
color: true
95+
path: spack
96+
97+
- name: Load Compiler and MPI
98+
run: |
99+
. ./spack/share/spack/setup-env.sh
100+
101+
if [[ "${{ matrix.compiler }}" == "GCC" ]]; then
102+
eval "$(spack load --sh openmpi)"
103+
elif [[ "${{ matrix.compiler }}" == "ICC" ]]; then
104+
eval "$(spack load --sh intel-oneapi-compilers)"
105+
eval "$(spack load --sh intel-oneapi-mpi)"
106+
elif [[ "${{ matrix.compiler }}" == "CLANG" ]]; then
107+
eval "$(spack load --sh llvm)"
108+
eval "$(spack load --sh openmpi)"
109+
fi
110+
89111
- name: Make Tests
90112
run: |
91113
cd tests

0 commit comments

Comments
 (0)