CI: Build wayland-protocols in container
Keep this as part of our container image; there's no reason to pull it for every single build. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -25,7 +25,6 @@ MESA_DEV_PKGS="
|
||||
llvm-8-dev
|
||||
python-mako
|
||||
python3-mako
|
||||
wayland-protocols
|
||||
"
|
||||
|
||||
# Needed for running the custom-built mesa
|
||||
@@ -147,6 +146,16 @@ cd build
|
||||
make install
|
||||
cd ../../
|
||||
|
||||
git clone --branch 1.19 https://gitlab.freedesktop.org/wayland/wayland-protocols
|
||||
cd wayland-protocols
|
||||
git show -s HEAD
|
||||
mkdir build
|
||||
cd build
|
||||
../autogen.sh
|
||||
make install
|
||||
cd ../../
|
||||
rm -rf wayland-protocols
|
||||
|
||||
apt-get -y --no-install-recommends install $MESA_DEV_PKGS
|
||||
git clone --single-branch --branch 20.3 --shallow-since='2020-12-15' https://gitlab.freedesktop.org/mesa/mesa.git mesa
|
||||
cd mesa
|
||||
|
||||
Reference in New Issue
Block a user