Skip to content

Commit 275c547

Browse files
committed
Install script doesn't support 7, bah!
1 parent 0b9f533 commit 275c547

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,13 @@ jobs:
7272
- name: Install LLVM 7
7373
if: contains(matrix.os, 'ubuntu')
7474
run: |
75-
wget -O - https://apt.llvm.org/llvm.sh | sudo bash -s 7
76-
sudo ln -s /usr/bin/llvm-config-7 /usr/local/bin/llvm-config
75+
mkdir -p ~/llvm7 && cd ~/llvm7
76+
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-7/llvm-7_7.0.1-12_amd64.deb \
77+
http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-7/libllvm7_7.0.1-12_amd64.deb \
78+
http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-7/llvm-7-runtime_7.0.1-12_amd64.deb
79+
sudo apt-get update
80+
sudo apt-get install -y ./*.deb
81+
sudo ln -s /usr/bin/llvm-config-7 /usr/local/bin/llvm-config
7782
7883
- name: Load Rust Cache
7984
uses: Swatinem/rust-cache@v1

0 commit comments

Comments
 (0)