ci: install packages available only on x86_64/arm64 on those arches only
This commit is contained in:
@@ -19,12 +19,11 @@ ADDITIONAL_DEPS=(
|
||||
libxkbcommon-dev
|
||||
libzstd-dev
|
||||
python3-libevdev
|
||||
python3-pefile
|
||||
python3-pip
|
||||
python3-pyelftools
|
||||
python3-pyparsing
|
||||
python3-pytest
|
||||
rpm
|
||||
systemd-boot-efi
|
||||
zstd
|
||||
)
|
||||
|
||||
@@ -43,6 +42,11 @@ set -ex
|
||||
|
||||
MESON_ARGS=()
|
||||
|
||||
if [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "x86_64" ]; then
|
||||
ADDITIONAL_DEPS+=(python3-pefile)
|
||||
ADDITIONAL_DEPS+=(systemd-boot-efi)
|
||||
fi
|
||||
|
||||
# (Re)set the current oom-{score-}adj. For some reason root on GH actions is able to _decrease_
|
||||
# its oom-score even after dropping all capabilities (including CAP_SYS_RESOURCE), until the
|
||||
# score is explicitly changed after sudo. No idea what's going on, but it breaks
|
||||
|
||||
Reference in New Issue
Block a user