packages.yml: change location indicating big packages (#18509)

This commit is contained in:
Ivan Max 2023-11-15 18:47:44 +00:00 committed by GitHub
parent 87c4c3e499
commit 4222df85d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -181,7 +181,7 @@ jobs:
done
if [ ! -z "$packages" ]; then
if grep -qP '(^|\s)(clvk|dart|libllvm|rust|rustc-nightly|swift|tinygo|wasmer|zig|firefox|bionic-host)($|\s)' <<< "$packages"; then
if grep -qP "(^|\s)$packages($|\s)" ./scripts/big-pkgs.list; then
./scripts/setup-ubuntu.sh
sudo apt install ninja-build
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(aspnetcore|cabal-|dotnet-|ghc-|libmono|php)') \

11
scripts/big-pkgs.list Normal file
View File

@ -0,0 +1,11 @@
clvk
dart
libllvm
rust
rustc-nightly
swift
tinygo
wasmer
zig
firefox
bionic-host