From 42089c586d32f29c91f0417c199fa92c13455467 Mon Sep 17 00:00:00 2001 From: Adonis Ling Date: Tue, 22 Oct 2024 10:24:49 +0800 Subject: [PATCH] ci(GitHub): don't test all packages to reduce the build time --- .github/workflows/build.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f9be3a..e7a79ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,22 @@ jobs: sed -i '/function install_packages/,/^}/ s/zsh//' devel/scripts/install.sh cd devel/scripts - bash install.sh + + packages=( + tzdb + m4 + zlib + libdb + perl + autoconf + automake + libtool + make + pkg_config + cmake + ninja + ) + bash install.sh "\${packages[@]}" EOF chmod 600 "$(pwd)"/.github/qemu/cloud-init/ssh/id_rsa