CI: use deb822 style for llvm source
Commit:
https://github.com/vim/vim/commit/9955c125fa1ef4273faa5760c3bb957aabdbfc28
Author: Philip H. <[email protected]>
Date: Sat May 10 14:23:36 2025 +0200
CI: use deb822 style for llvm source
closes: https://github.com/vim/vim/issues/17285
Signed-off-by: Philip H. <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a5bd4e2cf..3f2e06df5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -190,9 +190,14 @@ jobs:
- name: Install clang-${{ env.CLANG_VER }}
if: matrix.compiler == 'clang'
run: |
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key
add -
. /etc/lsb-release
- sudo add-apt-repository -y "deb
http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-${{
env.CLANG_VER }} main"
+ curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | gpg
--dearmor | sudo tee /usr/share/keyrings/llvm-archive-keyring.gpg > /dev/null
+ echo "Types: deb
+ URIs: https://apt.llvm.org/${DISTRIB_CODENAME}/
+ Suites: llvm-toolchain-${DISTRIB_CODENAME}-${{ env.CLANG_VER }}
+ Components: main
+ Signed-By: /usr/share/keyrings/llvm-archive-keyring.gpg" | sudo tee
/etc/apt/sources.list.d/llvm-toolchain.sources > /dev/null
+ sudo apt-get update -y
sudo apt-get install -y clang-${{ env.CLANG_VER }} llvm-${{
env.CLANG_VER }}
sudo update-alternatives --install /usr/bin/clang clang
/usr/bin/clang-${{ env.CLANG_VER }} 100
sudo update-alternatives --set clang /usr/bin/clang-${{
env.CLANG_VER }}
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uDjLC-001vVt-3E%40256bit.org.