File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
- name : C/C++ CI
1
+ name : llvm
2
2
3
3
on :
4
4
push :
15
15
16
16
steps :
17
17
- uses : actions/checkout@v3
18
+ - uses : actions/cache@v3
19
+ id : cache-llvm-16
20
+ with :
21
+ path : |
22
+ /usr/local/opt/llvm
23
+
24
+ /usr/local/Cellar/llvm/
25
+ key : ${{ runner.os }}-llvm-16
18
26
- uses : actions/cache@v3
19
27
with :
20
28
path : |
@@ -34,26 +42,18 @@ jobs:
34
42
path : |
35
43
~/.deno
36
44
~/Library/Caches/deno
37
-
45
+ - name : Install LLVM and Clang
46
+
47
+ if : ${{ steps.cache-llvm-16.outputs.cache-hit!= 'true' }}
48
+ run : brew install llvm@16
38
49
- name : install
39
50
40
51
run : |
41
-
42
- brew install llvm@16
43
-
52
+ brew install xmake python@3.11 six z3 zstd
44
53
brew install xmake
45
-
46
54
brew install libtool automake
47
-
48
-
49
-
50
-
51
- export LDFLAGS="-L/usr/local/opt/llvm/lib"
52
-
55
+ export LDFLAGS="-L/usr/local/opt/llvm/lib"
53
56
export CPPFLAGS="-I/usr/local/opt/llvm/include"
54
-
55
-
56
-
57
57
echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
58
58
59
59
- name : vcpkg-action
You can’t perform that action at this time.
0 commit comments