mirror of
https://github.com/X11Libre/xf86-input-mouse.git
synced 2026-03-24 01:24:06 +00:00
gitlab CI: FTBS: fix pkg-config path
The pkg-config path isn't correct, so it finds an older version of xorgproto that's already present in the base image, instead of the newer one we've just built ourselves. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/15>
This commit is contained in:
@@ -91,6 +91,7 @@ build:
|
||||
- .fdo.distribution-image@freebsd
|
||||
variables:
|
||||
XSERVER_MESON_FLAGS: -Dglx=false -Dglamor=false -Dudev=false -Dudev_kms=false
|
||||
PKGCONF_PATH: /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/local/libdata/pkgconfig
|
||||
script:
|
||||
# start the VM. This also sets up ssh/scp to connect to "vm"
|
||||
# correctly.
|
||||
@@ -111,7 +112,7 @@ build:
|
||||
- |
|
||||
/app/vmctl exec "git clone --depth=1 https://gitlab.freedesktop.org/xorg/xserver.git"
|
||||
/app/vmctl exec "mkdir xserver/_builddir"
|
||||
/app/vmctl exec "cd xserver/_builddir && env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig meson setup $XSERVER_MESON_FLAGS"
|
||||
/app/vmctl exec "cd xserver/_builddir && env PKG_CONFIG_PATH=$PKGCONF_PATH meson setup $XSERVER_MESON_FLAGS"
|
||||
/app/vmctl exec "cd xserver/_builddir && ninja"
|
||||
/app/vmctl exec "cd xserver/_builddir && ninja install"
|
||||
# Now build this driver
|
||||
@@ -120,7 +121,7 @@ build:
|
||||
/app/vmctl exec "cd $CI_PROJECT_NAME/_builddir && ../autogen.sh --disable-silent-rules PKG_CONFIG_PATH=/usr/local/lib/pkgconfig"
|
||||
/app/vmctl exec "cd $CI_PROJECT_NAME/_builddir && make"
|
||||
/app/vmctl exec "cd $CI_PROJECT_NAME/_builddir && make check"
|
||||
/app/vmctl exec "cd $CI_PROJECT_NAME/_builddir && env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make distcheck" && touch .success
|
||||
/app/vmctl exec "cd $CI_PROJECT_NAME/_builddir && env PKG_CONFIG_PATH=$PKGCONF_PATH make distcheck" && touch .success
|
||||
# copy any test results from the VM to our container so we can
|
||||
# save them as artifacts
|
||||
# - scp -r vm:$CI_PROJECT_NAME/test-results.xml .
|
||||
|
||||
Reference in New Issue
Block a user