Skip to content

Commit 730abc7

Browse files
committed
[ci] add llvm versions to reusable action names
1 parent 0d3908f commit 730abc7

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

.github/workflows/MacOS-arm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
103103
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
104104
105-
- name: Restore Cache LLVM/Clang runtime build directory
105+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
106106
uses: actions/cache/restore@v4
107107
id: cache
108108
with:
@@ -164,12 +164,12 @@ jobs:
164164
brew install gnu-sed
165165
pip install distro pytest
166166
167-
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
167+
- name: Build LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
168168
uses: ./.github/actions/Build_LLVM
169169
with:
170170
cache-hit: ${{ steps.cache.outputs.cache-hit }}
171171

172-
- name: Save Cache LLVM/Clang runtime build directory
172+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
173173
uses: actions/cache/save@v4
174174
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
175175
with:

.github/workflows/MacOS.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
102102
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
103103
104-
- name: Restore Cache LLVM/Clang runtime build directory
104+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
105105
uses: actions/cache/restore@v4
106106
id: cache
107107
with:
@@ -149,12 +149,12 @@ jobs:
149149
brew install gnu-sed
150150
pip install distro pytest
151151
152-
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
152+
- name: Build LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
153153
uses: ./.github/actions/Build_LLVM
154154
with:
155155
cache-hit: ${{ steps.cache.outputs.cache-hit }}
156156

157-
- name: Save Cache LLVM/Clang runtime build directory
157+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
158158
uses: actions/cache/save@v4
159159
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
160160
with:

.github/workflows/Ubuntu-arm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
112112
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
113113
114-
- name: Restore Cache LLVM/Clang runtime build directory
114+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
115115
uses: actions/cache/restore@v4
116116
id: cache
117117
with:
@@ -164,12 +164,12 @@ jobs:
164164
sudo apt install libboost-all-dev
165165
166166
167-
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
167+
- name: Build LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
168168
uses: ./.github/actions/Build_LLVM
169169
with:
170170
cache-hit: ${{ steps.cache.outputs.cache-hit }}
171171

172-
- name: Save Cache LLVM/Clang runtime build directory
172+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
173173
uses: actions/cache/save@v4
174174
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
175175
with:

.github/workflows/Ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
103103
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
104104
105-
- name: Restore Cache LLVM/Clang runtime build directory
105+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
106106
uses: actions/cache/restore@v4
107107
id: cache
108108
with:
@@ -153,12 +153,12 @@ jobs:
153153
sudo apt install libeigen3-dev
154154
sudo apt install libboost-all-dev
155155
156-
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
156+
- name: Build LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
157157
uses: ./.github/actions/Build_LLVM
158158
with:
159159
cache-hit: ${{ steps.cache.outputs.cache-hit }}
160160

161-
- name: Save Cache LLVM/Clang runtime build directory
161+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
162162
uses: actions/cache/save@v4
163163
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
164164
with:

.github/workflows/Windows-arm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
7575
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
7676
77-
- name: Restore Cache LLVM/Clang runtime build directory
77+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
7878
uses: actions/cache/restore@v4
7979
id: cache
8080
with:
@@ -117,12 +117,12 @@ jobs:
117117
choco install findutils
118118
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
119119
120-
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
120+
- name: Build LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
121121
uses: ./.github/actions/Build_LLVM
122122
with:
123123
cache-hit: ${{ steps.cache.outputs.cache-hit }}
124124

125-
- name: Save Cache LLVM/Clang runtime build directory
125+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
126126
uses: actions/cache/save@v4
127127
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
128128
with:

.github/workflows/Windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
7575
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
7676
77-
- name: Restore Cache LLVM/Clang runtime build directory
77+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
7878
uses: actions/cache/restore@v4
7979
id: cache
8080
with:
@@ -117,12 +117,12 @@ jobs:
117117
choco install findutils
118118
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
119119
120-
- name: Build LLVM and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
120+
- name: Build LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }}
121121
uses: ./.github/actions/Build_LLVM
122122
with:
123123
cache-hit: ${{ steps.cache.outputs.cache-hit }}
124124

125-
- name: Save Cache LLVM/Clang runtime build directory
125+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
126126
uses: actions/cache/save@v4
127127
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
128128
with:

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
cd emsdk
8080
./emsdk install ${{ matrix.emsdk_ver }}
8181
82-
- name: Restore Cache LLVM/Clang runtime build directory
82+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
8383
uses: actions/cache/restore@v4
8484
id: cache
8585
with:

.github/workflows/emscripten.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
138138
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
139139
140-
- name: Restore Cache LLVM/Clang runtime build directory (Unix like systems emscripten)
140+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build (Unix like systems emscripten)
141141
uses: actions/cache/restore@v4
142142
id: cache
143143
with:
@@ -415,7 +415,7 @@ jobs:
415415
cd ..\..
416416
}
417417
418-
- name: Save Cache LLVM/Clang runtime build directory
418+
- name: Cache LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
419419
uses: actions/cache/save@v4
420420
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
421421
with:
@@ -540,7 +540,7 @@ jobs:
540540
cd emsdk
541541
./emsdk install ${{ matrix.emsdk_ver }}
542542
543-
- name: Restore Cache LLVM/Clang runtime build directory
543+
- name: Restore cached LLVM-${{ matrix.clang-runtime }} and ${{ matrix.cling == 'On' && 'Cling' || 'Clang-REPL' }} build
544544
uses: actions/cache/restore@v4
545545
id: cache
546546
with:

0 commit comments

Comments
 (0)