Skip to content

Commit 031c051

Browse files
committed
Treat different matrix runs
1 parent 4b33b4c commit 031c051

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
build:
2323
# Skip CI if PR is a draft
2424
if: github.event.pull_request.draft == false
25+
name: build-${{matrix.os}}-${{matrix.cxx}}-mpi:${{matrix.mpi}}-openmp:${{matrix.omp}}
2526
# The CMake configure and build commands are platform agnostic and should work equally
2627
# well on Windows or Mac. You can convert this to a matrix build if you need
2728
# cross-platform coverage.
@@ -127,13 +128,14 @@ jobs:
127128
128129
- uses: actions/upload-artifact@v4
129130
with:
130-
name: dependencies
131+
name: dependencies-${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}-${{ matrix.omp }}
131132
path: ${{github.workspace}}/local
132133

133134

134135
test:
135136
needs:
136137
build
138+
name: test-${{matrix.os}}-${{matrix.cxx}}-mpi:${{matrix.mpi}}-openmp:${{matrix.omp}}
137139
runs-on: ${{matrix.os}}
138140
env:
139141
CC: ${{ matrix.cc }}
@@ -158,7 +160,7 @@ jobs:
158160

159161
- uses: actions/download-artifact@v4
160162
with:
161-
name: dependencies
163+
name: dependencies-${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}-${{ matrix.omp }}
162164
path: ${{github.workspace}}/local
163165

164166
- name: Install Dependencies on Ubunutu
@@ -216,7 +218,7 @@ jobs:
216218

217219
- uses: actions/download-artifact@v4
218220
with:
219-
name: dependencies
221+
name: dependencies-${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}-${{ matrix.omp }}
220222
path: ${{github.workspace}}/local
221223

222224
- name: Install Dependencies on Ubunutu

0 commit comments

Comments
 (0)