summaryrefslogtreecommitdiff
path: root/ci/provision-prep.sh
blob: 96a2041e5b15d609779df58daa9bb0538019122f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/bash
# Prepare the current environment

set -xeuo pipefail

dn=$(dirname $0)
. ${dn}/libbuild.sh
pkg_upgrade
pkg_install_buildroot
pkg_install sudo which attr fuse strace \
            libubsan libasan libtsan PyYAML elfutils
pkg_install_if_os fedora gjs gnome-desktop-testing parallel coccinelle clang

if test -n "${CI_PKGS:-}"; then
    pkg_install ${CI_PKGS}
fi