ci: Add cbindgen to the build images

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27397>
This commit is contained in:
Faith Ekstrand 2024-04-08 12:22:20 -05:00 committed by Marge Bot
parent 640d14969e
commit 923a0a727b
3 changed files with 10 additions and 2 deletions

View File

@ -90,6 +90,13 @@ RUSTFLAGS='-L native=/usr/local/lib' cargo install \
-j ${FDO_CI_CONCURRENT:-4} \
--root /usr/local
# install cbindgen
RUSTFLAGS='-L native=/usr/local/lib' cargo install \
cbindgen --version 0.26.0 \
--locked \
-j ${FDO_CI_CONCURRENT:-4} \
--root /usr/local
############### Uninstall the build software
apt-get purge -y "${EPHEMERAL[@]}"

View File

@ -27,6 +27,7 @@ EPHEMERAL=(
DEPS=(
bindgen
bison
cbindgen
ccache
clang-devel
flex

View File

@ -16,7 +16,7 @@ variables:
DEBIAN_BASE_TAG: "20240401-wlproto"
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
DEBIAN_BUILD_TAG: "20240401-wlproto"
DEBIAN_BUILD_TAG: "20240408-cbindgen"
DEBIAN_X86_64_TEST_BASE_IMAGE: "debian/x86_64_test-base"
@ -31,7 +31,7 @@ variables:
ALPINE_X86_64_BUILD_TAG: "20240401-wlproto"
ALPINE_X86_64_LAVA_SSH_TAG: "20240401-wlproto"
FEDORA_X86_64_BUILD_TAG: "20240401-wlproto"
FEDORA_X86_64_BUILD_TAG: "20240408-cbindgen"
KERNEL_TAG: "v6.6.21-mesa-19fc"
KERNEL_REPO: "gfx-ci/linux"
PKG_REPO_REV: "3cc12a2a"