File tree Expand file tree Collapse file tree 7 files changed +2
-24
lines changed Expand file tree Collapse file tree 7 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Builds LLVM'
2
2
description : ' This action builds LLVM for native platforms'
3
- inputs :
4
- cache-hit :
5
- required : true
6
-
7
- on :
8
- workflow_call :
9
- inputs :
10
- cache-hit :
11
- required : true
12
- type : boolean
13
3
14
4
runs :
15
5
using : composite
16
6
steps :
17
7
- name : Build LLVM/Cling if the cache is invalid
18
- if : ${{ inputs .cache-hit != 'true' && runner.os != 'Windows' }}
8
+ if : ${{ steps.cache.outputs .cache-hit != 'true' && runner.os != 'Windows' }}
19
9
shell : bash
20
10
run : |
21
11
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
95
85
96
86
97
87
- name : Build LLVM/Cling on Windows systems if the cache is invalid
98
- if : ${{ inputs .cache-hit != 'true' && runner.os == 'Windows' }}
88
+ if : ${{ steps.cache.outputs .cache-hit != 'true' && runner.os == 'Windows' }}
99
89
shell : powershell
100
90
run : |
101
91
Original file line number Diff line number Diff line change @@ -159,8 +159,6 @@ jobs:
159
159
brew install ninja
160
160
161
161
- uses : ./.github/actions/Build_LLVM
162
- with :
163
- cache-hit : ${{ steps.cache.outputs.cache-hit }}
164
162
165
163
- name : Save Cache LLVM/Clang runtime build directory
166
164
uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -143,8 +143,6 @@ jobs:
143
143
brew install ninja
144
144
145
145
- uses : ./.github/actions/Build_LLVM
146
- with :
147
- cache-hit : ${{ steps.cache.outputs.cache-hit }}
148
146
149
147
- name : Save Cache LLVM/Clang runtime build directory
150
148
uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -154,8 +154,6 @@ jobs:
154
154
sudo apt-get clean
155
155
156
156
- uses : ./.github/actions/Build_LLVM
157
- with :
158
- cache-hit : ${{ steps.cache.outputs.cache-hit }}
159
157
160
158
- name : Save Cache LLVM/Clang runtime build directory
161
159
uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -147,8 +147,6 @@ jobs:
147
147
sudo apt-get clean
148
148
149
149
- uses : ./.github/actions/Build_LLVM
150
- with :
151
- cache-hit : ${{ steps.cache.outputs.cache-hit }}
152
150
153
151
- name : Save Cache LLVM/Clang runtime build directory
154
152
uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ jobs:
122
122
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
123
123
124
124
- uses : ./.github/actions/Build_LLVM
125
- with :
126
- cache-hit : ${{ steps.cache.outputs.cache-hit }}
127
125
128
126
- name : Save Cache LLVM/Clang runtime build directory
129
127
uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ jobs:
122
122
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
123
123
124
124
- uses : ./.github/actions/Build_LLVM
125
- with :
126
- cache-hit : ${{ steps.cache.outputs.cache-hit }}
127
125
128
126
- name : Save Cache LLVM/Clang runtime build directory
129
127
uses : actions/cache/save@v4
You can’t perform that action at this time.
0 commit comments