File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 5
5
paths-ignore :
6
6
- " **.md"
7
7
push :
8
+ branches :
9
+ - main
8
10
paths-ignore :
9
11
- " **.md"
10
12
80
82
sudo apt-get install -y libssl-dev
81
83
sudo apt-get install -y libcurl4-openssl-dev
82
84
83
- - name : Install LLVM 7
85
+ - name : Install LLVM 7 (for NVVM backend)
84
86
if : contains(matrix.os, 'ubuntu')
85
87
run : |
86
88
mkdir -p ~/llvm7 && cd ~/llvm7
92
94
sudo apt-get install -y ./*.deb
93
95
sudo ln -s /usr/bin/llvm-config-7 /usr/local/bin/llvm-config
94
96
97
+ - name : Install LLVM 18 (for bindgen)
98
+ if : matrix.os == 'ubuntu-24.04'
99
+ run : |
100
+ sudo apt-get update
101
+ sudo apt-get install -y gnupg
102
+ sudo apt-get install -y build-essential
103
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor | tee /usr/share/keyrings/llvm-archive-keyring.gpg > /dev/null
104
+ echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] https://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | sudo tee /etc/apt/sources.list.d/llvm.list
105
+ sudo apt-get update && sudo apt-get install -y libclang-18-dev clang-18
106
+ export LIBCLANG_PATH=/usr/lib/llvm-18/lib
107
+
95
108
- name : Load Rust Cache
96
109
97
110
with :
You can’t perform that action at this time.
0 commit comments