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
|
run: pip install meson ninja
|
||||||
- name: Setup
|
- name: Setup
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: meson setup build -Dperl=disabled
|
run: meson setup build -Dperl=disabled -Dcredential_helpers=wincred
|
||||||
- name: Compile
|
- name: Compile
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: meson compile -C build
|
run: meson compile -C build
|
||||||
|
|
|
@ -164,7 +164,7 @@ build:msvc-meson:
|
||||||
extends: .msvc-meson
|
extends: .msvc-meson
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- meson setup build -Dperl=disabled
|
- meson setup build -Dperl=disabled -Dcredential_helpers=wincred
|
||||||
- meson compile -C build
|
- meson compile -C build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -58,7 +58,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 \
|
||||||
libpcre2-dev meson ninja-build pkg-config \
|
libsecret-1-dev libpcre2-dev meson ninja-build pkg-config \
|
||||||
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
|
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
|
||||||
|
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
|
|
|
@ -348,6 +348,9 @@ case "$jobname" in
|
||||||
linux32)
|
linux32)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
;;
|
;;
|
||||||
|
linux-meson)
|
||||||
|
MESONFLAGS="$MESONFLAGS -Dcredential_helpers=libsecret,netrc"
|
||||||
|
;;
|
||||||
linux-musl-meson)
|
linux-musl-meson)
|
||||||
MESONFLAGS="$MESONFLAGS -Dtest_utf8_locale=C.UTF-8"
|
MESONFLAGS="$MESONFLAGS -Dtest_utf8_locale=C.UTF-8"
|
||||||
;;
|
;;
|
||||||
|
@ -359,6 +362,9 @@ linux-asan-ubsan)
|
||||||
export NO_SVN_TESTS=LetsSaveSomeTime
|
export NO_SVN_TESTS=LetsSaveSomeTime
|
||||||
MAKEFLAGS="$MAKEFLAGS NO_PYTHON=YepBecauseP4FlakesTooOften"
|
MAKEFLAGS="$MAKEFLAGS NO_PYTHON=YepBecauseP4FlakesTooOften"
|
||||||
;;
|
;;
|
||||||
|
osx-meson)
|
||||||
|
MESONFLAGS="$MESONFLAGS -Dcredential_helpers=osxkeychain"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
MAKEFLAGS="$MAKEFLAGS CC=${CC:-cc}"
|
MAKEFLAGS="$MAKEFLAGS CC=${CC:-cc}"
|
||||||
|
|
Loading…
Reference in New Issue