ci:rm unuse llvm download tool

This commit is contained in:
luoliwoshang
2025-09-26 11:15:56 +08:00
parent 4cff9bb0a7
commit 4a6331c668
2 changed files with 7 additions and 10 deletions

View File

@@ -36,9 +36,11 @@ runs:
opt_deps=(
cjson # for github.com/goplus/lib/c/cjson
sqlite # for github.com/goplus/lib/c/sqlite
python@3.12 # for github.com/goplus/lib/py
)
brew install "${opt_deps[@]}"
brew install python@3.12 || true # for github.com/goplus/lib/py
brew link --overwrite python@3.12
- name: Install Ubuntu dependencies
if: runner.os == 'Linux'
shell: bash

View File

@@ -17,12 +17,7 @@ cat > "${POPULATE_LINUX_SYSROOT_SCRIPT}" << EOF
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y build-essential zlib1g-dev
apt-get install -y lsb-release gnupg2 wget rsync
echo "deb http://apt.llvm.org/\$(lsb_release -cs)/ llvm-toolchain-\$(lsb_release -cs)-19 main" | tee /etc/apt/sources.list.d/llvm.list
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
apt-get update
apt-get install -y build-essential zlib1g-dev rsync
error() {
echo -e "\$1" >&2