Skip to content

Commit 70d2c03

Browse files
committed
try pipeline again
1 parent ec318b1 commit 70d2c03

File tree

1 file changed

+55
-46
lines changed

1 file changed

+55
-46
lines changed

.github/workflows/single-platform.yml

Lines changed: 55 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ "main", "dane_dev" ]
88

99
jobs:
10-
build:
10+
testMPI:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
@@ -63,51 +63,6 @@ jobs:
6363
6464
make
6565
66-
- name: Upload Executables
67-
uses: actions/upload-artifact@v4
68-
with:
69-
name: sparseBench-SCS-${{ matrix.compiler }}
70-
path: |
71-
./sparseBench-SCS-${{ matrix.compiler }}
72-
73-
runTests:
74-
runs-on: ubuntu-latest
75-
needs: build
76-
strategy:
77-
matrix:
78-
compiler: [GCC, ICC, CLANG]
79-
80-
steps:
81-
- uses: actions/checkout@v4
82-
83-
- name: Download Executables
84-
uses: actions/download-artifact@v4
85-
with:
86-
name: sparseBench-SCS-${{ matrix.compiler }}
87-
path: ./executables
88-
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-
11166
- name: Make Tests
11267
run: |
11368
cd tests
@@ -116,3 +71,57 @@ jobs:
11671
- name: Run Tests
11772
run: |
11873
./runTests
74+
75+
# - name: Upload Executables
76+
# uses: actions/upload-artifact@v4
77+
# with:
78+
# name: sparseBench-SCS-${{ matrix.compiler }}
79+
# path: |
80+
# ./sparseBench-SCS-${{ matrix.compiler }}
81+
82+
# runTests:
83+
# runs-on: ubuntu-latest
84+
# needs: build
85+
# strategy:
86+
# matrix:
87+
# compiler: [GCC, ICC, CLANG]
88+
89+
# steps:
90+
# - uses: actions/checkout@v4
91+
92+
# - name: Download Executables
93+
# uses: actions/download-artifact@v4
94+
# with:
95+
# name: sparseBench-SCS-${{ matrix.compiler }}
96+
# path: ./executables
97+
98+
# - name: Set up Spack
99+
# uses: spack/setup-spack@v2
100+
# with:
101+
# ref: develop
102+
# buildcache: true
103+
# color: true
104+
# path: spack
105+
106+
# - name: Load Compiler and MPI
107+
# run: |
108+
# . ./spack/share/spack/setup-env.sh
109+
110+
# if [[ "${{ matrix.compiler }}" == "GCC" ]]; then
111+
# eval "$(spack load --sh openmpi)"
112+
# elif [[ "${{ matrix.compiler }}" == "ICC" ]]; then
113+
# eval "$(spack load --sh intel-oneapi-compilers)"
114+
# eval "$(spack load --sh intel-oneapi-mpi)"
115+
# elif [[ "${{ matrix.compiler }}" == "CLANG" ]]; then
116+
# eval "$(spack load --sh llvm)"
117+
# eval "$(spack load --sh openmpi)"
118+
# fi
119+
120+
# - name: Make Tests
121+
# run: |
122+
# cd tests
123+
# make
124+
125+
# - name: Run Tests
126+
# run: |
127+
# ./runTests

0 commit comments

Comments
 (0)