Skip to content

Commit b931fdf

Browse files
committed
CI: install required Clang 11 for v5.10 from LLVM apt repo
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 5f3c721 commit b931fdf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
steps:
1818
# Setup
1919
- uses: actions/checkout@v2
20-
- run: sudo apt update
21-
- run: sudo apt install libelf-dev qemu-system-x86 busybox-static
20+
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
21+
- run: sudo add-apt-repository deb http://apt.llvm.org/focal/llvm-toolchain-11 main
22+
- run: sudo apt-get update -y
23+
- run: sudo apt-get install -y clang-11 libelf-dev qemu-system-x86 busybox-static
2224
- run: rustup default nightly-2020-08-27
2325
- run: rustup component add rustfmt
2426
- run: rustup component add rust-src
@@ -33,9 +35,9 @@ jobs:
3335
run: mkdir build && mv .config build/.config
3436

3537
- if: matrix.outputdir == 'src'
36-
run: make CC=clang-10 LLVM_CONFIG_PATH=llvm-config-10 -j3
38+
run: make CC=clang-11 LLVM_CONFIG_PATH=llvm-config-11 -j3
3739
- if: matrix.outputdir == 'build'
38-
run: make O=build CC=clang-10 LLVM_CONFIG_PATH=llvm-config-10 -j3
40+
run: make O=build CC=clang-11 LLVM_CONFIG_PATH=llvm-config-11 -j3
3941

4042
# Run
4143
- if: matrix.module == 'builtin'

0 commit comments

Comments
 (0)