Skip to content

Commit

Permalink
fixup! ci: install missing build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed Mar 25, 2024
1 parent 6332e2a commit 5fb17b3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .ci/emulator_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ test -d "${HOME}/.luarocks" || {
}
eval "$(luarocks path --bin)"

sudo apt-get update

# install clang for clang build
if [ "$CC" = "clang" ]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand All @@ -23,6 +25,12 @@ deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-11 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-11 main
EOF

sudo apt-get update
sudo apt-get install -y clang-11
fi

# Install chrpath and a python interpreter for meson.
sudo apt-get install -y --no-install-recommends chrpath python3-minimal python3-pip
# Install meson.
python3 -m pip install meson
echo "PATH: ${PATH}"
which meson

0 comments on commit 5fb17b3

Please sign in to comment.