Allow installing extra packages in before_install.sh

This is useful now that it uses different commands for installing
packages under different systems, as it means that we don't have to
write these commands manually in the CI configuration files.
This commit is contained in:
Vadim Zeitlin 2022-08-03 22:18:47 +02:00
parent b430a6104c
commit a527b2714d
3 changed files with 12 additions and 11 deletions

View file

@ -19,9 +19,8 @@ task:
wxPROC_COUNT=`./build/tools/proc_count.sh`
echo wxBUILD_ARGS=-j$wxPROC_COUNT >> $CIRRUS_ENV
./build/tools/before_install.sh
WX_EXTRA_PACKAGES='ccache git' ./build/tools/before_install.sh
pkg install -q -y ccache git
echo "PATH=/usr/local/libexec/ccache:$PATH" >> $CIRRUS_ENV
# Rather than getting all submodules, get just the ones we need, as we can