mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
ci: enable Rust for breaking-changes jobs
Enable Rust for our breaking-changes jobs so that we can verify that the build infrastructure and the converted Rust subsystems work as expected. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
6ab3977200
commit
e425c40aa0
@@ -35,7 +35,7 @@ fedora-*|almalinux-*)
|
|||||||
MESON_DEPS="meson ninja";;
|
MESON_DEPS="meson ninja";;
|
||||||
esac
|
esac
|
||||||
dnf -yq update >/dev/null &&
|
dnf -yq update >/dev/null &&
|
||||||
dnf -yq install shadow-utils sudo make pkg-config gcc findutils diffutils perl python3 gawk gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel $MESON_DEPS >/dev/null
|
dnf -yq install shadow-utils sudo make pkg-config gcc findutils diffutils perl python3 gawk gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel $MESON_DEPS cargo >/dev/null
|
||||||
;;
|
;;
|
||||||
ubuntu-*|i386/ubuntu-*|debian-*)
|
ubuntu-*|i386/ubuntu-*|debian-*)
|
||||||
# Required so that apt doesn't wait for user input on certain packages.
|
# Required so that apt doesn't wait for user input on certain packages.
|
||||||
@@ -62,7 +62,7 @@ ubuntu-*|i386/ubuntu-*|debian-*)
|
|||||||
make libssl-dev libcurl4-openssl-dev libexpat-dev wget sudo default-jre \
|
make libssl-dev libcurl4-openssl-dev libexpat-dev wget sudo default-jre \
|
||||||
tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl \
|
tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl \
|
||||||
libemail-valid-perl libio-pty-perl libio-socket-ssl-perl libnet-smtp-ssl-perl libdbd-sqlite3-perl libcgi-pm-perl \
|
libemail-valid-perl libio-pty-perl libio-socket-ssl-perl libnet-smtp-ssl-perl libdbd-sqlite3-perl libcgi-pm-perl \
|
||||||
libsecret-1-dev libpcre2-dev meson ninja-build pkg-config \
|
libsecret-1-dev libpcre2-dev meson ninja-build pkg-config cargo \
|
||||||
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
|
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
|
||||||
|
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
|
|||||||
@@ -9,7 +9,9 @@ case "$jobname" in
|
|||||||
fedora-breaking-changes-musl|linux-breaking-changes)
|
fedora-breaking-changes-musl|linux-breaking-changes)
|
||||||
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
|
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
|
||||||
export WITH_BREAKING_CHANGES=YesPlease
|
export WITH_BREAKING_CHANGES=YesPlease
|
||||||
|
export WITH_RUST=YesPlease
|
||||||
MESONFLAGS="$MESONFLAGS -Dbreaking_changes=true"
|
MESONFLAGS="$MESONFLAGS -Dbreaking_changes=true"
|
||||||
|
MESONFLAGS="$MESONFLAGS -Drust=enabled"
|
||||||
;;
|
;;
|
||||||
linux-TEST-vars)
|
linux-TEST-vars)
|
||||||
export OPENSSL_SHA1_UNSAFE=YesPlease
|
export OPENSSL_SHA1_UNSAFE=YesPlease
|
||||||
|
|||||||
Reference in New Issue
Block a user