ci: exercise credential helpers
Wire up credential helpers in our CI runs so that we can rest assured that they compile and (if tests are available) function correctly. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
235fe77c29
commit
63a597dd94
|
@ -265,7 +265,7 @@ jobs:
|
|||
run: pip install meson ninja
|
||||
- name: Setup
|
||||
shell: pwsh
|
||||
run: meson setup build -Dperl=disabled
|
||||
run: meson setup build -Dperl=disabled -Dcredential_helpers=wincred
|
||||
- name: Compile
|
||||
shell: pwsh
|
||||
run: meson compile -C build
|
||||
|
|
|
@ -164,7 +164,7 @@ build:msvc-meson:
|
|||
extends: .msvc-meson
|
||||
stage: build
|
||||
script:
|
||||
- meson setup build -Dperl=disabled
|
||||
- meson setup build -Dperl=disabled -Dcredential_helpers=wincred
|
||||
- meson compile -C build
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
|
@ -58,7 +58,7 @@ ubuntu-*|i386/ubuntu-*|debian-*)
|
|||
make libssl-dev libcurl4-openssl-dev libexpat-dev wget sudo default-jre \
|
||||
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 \
|
||||
libpcre2-dev meson ninja-build pkg-config \
|
||||
libsecret-1-dev libpcre2-dev meson ninja-build pkg-config \
|
||||
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
|
||||
|
||||
case "$distro" in
|
||||
|
|
|
@ -348,6 +348,9 @@ case "$jobname" in
|
|||
linux32)
|
||||
CC=gcc
|
||||
;;
|
||||
linux-meson)
|
||||
MESONFLAGS="$MESONFLAGS -Dcredential_helpers=libsecret,netrc"
|
||||
;;
|
||||
linux-musl-meson)
|
||||
MESONFLAGS="$MESONFLAGS -Dtest_utf8_locale=C.UTF-8"
|
||||
;;
|
||||
|
@ -359,6 +362,9 @@ linux-asan-ubsan)
|
|||
export NO_SVN_TESTS=LetsSaveSomeTime
|
||||
MAKEFLAGS="$MAKEFLAGS NO_PYTHON=YepBecauseP4FlakesTooOften"
|
||||
;;
|
||||
osx-meson)
|
||||
MESONFLAGS="$MESONFLAGS -Dcredential_helpers=osxkeychain"
|
||||
;;
|
||||
esac
|
||||
|
||||
MAKEFLAGS="$MAKEFLAGS CC=${CC:-cc}"
|
||||
|
|
Loading…
Reference in New Issue