Skip to content

Commit 0d3908f

Browse files
committed
[ci] Set names for reusable actions
1 parent 3d3c82d commit 0d3908f

File tree

6 files changed

+34
-18
lines changed

6 files changed

+34
-18
lines changed

.github/workflows/MacOS-arm.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ jobs:
164164
brew install gnu-sed
165165
pip install distro pytest
166166
167-
168-
- uses: ./.github/actions/Build_LLVM
167+
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
168+
uses: ./.github/actions/Build_LLVM
169169
with:
170170
cache-hit: ${{ steps.cache.outputs.cache-hit }}
171171

@@ -178,9 +178,11 @@ jobs:
178178
${{ matrix.cling=='On' && 'cling' || '' }}
179179
key: ${{ steps.cache.outputs.cache-primary-key }}
180180

181-
- uses: ./.github/actions/Build_and_Test_CppInterOp
181+
- name: Build and test CppInterOp
182+
uses: ./.github/actions/Build_and_Test_CppInterOp
182183

183-
- uses: ./.github/actions/Build_and_Test_cppyy
184+
- name: Build and test cppyy
185+
uses: ./.github/actions/Build_and_Test_cppyy
184186

185187
- name: Show debug info
186188
if: ${{ failure() }}

.github/workflows/MacOS.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ jobs:
149149
brew install gnu-sed
150150
pip install distro pytest
151151
152-
153-
- uses: ./.github/actions/Build_LLVM
152+
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
153+
uses: ./.github/actions/Build_LLVM
154154
with:
155155
cache-hit: ${{ steps.cache.outputs.cache-hit }}
156156

@@ -163,9 +163,11 @@ jobs:
163163
${{ matrix.cling=='On' && 'cling' || '' }}
164164
key: ${{ steps.cache.outputs.cache-primary-key }}
165165

166-
- uses: ./.github/actions/Build_and_Test_CppInterOp
166+
- name: Build and test CppInterOp
167+
uses: ./.github/actions/Build_and_Test_CppInterOp
167168

168-
- uses: ./.github/actions/Build_and_Test_cppyy
169+
- name: Build and test cppyy
170+
uses: ./.github/actions/Build_and_Test_cppyy
169171

170172
- name: Show debug info
171173
if: ${{ failure() }}

.github/workflows/Ubuntu-arm.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ jobs:
163163
sudo apt install libeigen3-dev
164164
sudo apt install libboost-all-dev
165165
166-
- uses: ./.github/actions/Build_LLVM
166+
167+
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
168+
uses: ./.github/actions/Build_LLVM
167169
with:
168170
cache-hit: ${{ steps.cache.outputs.cache-hit }}
169171

@@ -183,7 +185,8 @@ jobs:
183185
echo "CODE_COVERAGE=1" >> $GITHUB_ENV
184186
echo "BUILD_TYPE=Debug" >> $GITHUB_ENV
185187
186-
- uses: ./.github/actions/Build_and_Test_CppInterOp
188+
- name: Build and test CppInterOp
189+
uses: ./.github/actions/Build_and_Test_CppInterOp
187190

188191
- name: Prepare code coverage report
189192
if: ${{ success() && (matrix.coverage == true) }}
@@ -205,7 +208,8 @@ jobs:
205208
verbose: true
206209
token: ${{ secrets.CODECOV_TOKEN }}
207210

208-
- uses: ./.github/actions/Build_and_Test_cppyy
211+
- name: Build and test cppyy
212+
uses: ./.github/actions/Build_and_Test_cppyy
209213

210214
- name: Show debug info
211215
if: ${{ failure() }}

.github/workflows/Ubuntu.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ jobs:
152152
# Install libraries used by the cppyy test suite
153153
sudo apt install libeigen3-dev
154154
sudo apt install libboost-all-dev
155-
- uses: ./.github/actions/Build_LLVM
155+
156+
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
157+
uses: ./.github/actions/Build_LLVM
156158
with:
157159
cache-hit: ${{ steps.cache.outputs.cache-hit }}
158160

@@ -172,7 +174,8 @@ jobs:
172174
echo "CODE_COVERAGE=1" >> $GITHUB_ENV
173175
echo "BUILD_TYPE=Debug" >> $GITHUB_ENV
174176
175-
- uses: ./.github/actions/Build_and_Test_CppInterOp
177+
- name: Build and test CppInterOp
178+
uses: ./.github/actions/Build_and_Test_CppInterOp
176179

177180
- name: Prepare code coverage report
178181
if: ${{ success() && (matrix.coverage == true) }}
@@ -194,7 +197,8 @@ jobs:
194197
verbose: true
195198
token: ${{ secrets.CODECOV_TOKEN }}
196199

197-
- uses: ./.github/actions/Build_and_Test_cppyy
200+
- name: Build and test cppyy
201+
uses: ./.github/actions/Build_and_Test_cppyy
198202

199203
- name: Show debug info
200204
if: ${{ failure() }}

.github/workflows/Windows-arm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ jobs:
117117
choco install findutils
118118
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
119119
120-
- uses: ./.github/actions/Build_LLVM
120+
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
121+
uses: ./.github/actions/Build_LLVM
121122
with:
122123
cache-hit: ${{ steps.cache.outputs.cache-hit }}
123124

@@ -130,7 +131,8 @@ jobs:
130131
${{ matrix.cling=='On' && 'cling' || '' }}
131132
key: ${{ steps.cache.outputs.cache-primary-key }}
132133

133-
- uses: ./.github/actions/Build_and_Test_CppInterOp
134+
- name: Build and test CppInterOp
135+
uses: ./.github/actions/Build_and_Test_CppInterOp
134136

135137
- name: Setup tmate session
136138
if: ${{ failure() && runner.debug }}

.github/workflows/Windows.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ jobs:
117117
choco install findutils
118118
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
119119
120-
- uses: ./.github/actions/Build_LLVM
120+
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
121+
uses: ./.github/actions/Build_LLVM
121122
with:
122123
cache-hit: ${{ steps.cache.outputs.cache-hit }}
123124

@@ -130,7 +131,8 @@ jobs:
130131
${{ matrix.cling=='On' && 'cling' || '' }}
131132
key: ${{ steps.cache.outputs.cache-primary-key }}
132133

133-
- uses: ./.github/actions/Build_and_Test_CppInterOp
134+
- name: Build and test CppInterOp
135+
uses: ./.github/actions/Build_and_Test_CppInterOp
134136

135137
- name: Setup tmate session
136138
if: ${{ failure() && runner.debug }}

0 commit comments

Comments
 (0)