gitlab-ci: Run make distcheck in autotools build & test job
We don't set the PIGLIT_DIR and XTS_DIR environment variables for make distcheck for now, otherwise it complains about files left behind by piglit.
This commit is contained in:
parent
f9bbc9d5ea
commit
432fad04e7
|
@ -64,8 +64,6 @@ debian-testing:
|
||||||
- ccache/
|
- ccache/
|
||||||
variables:
|
variables:
|
||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
PIGLIT_DIR: /root/piglit
|
|
||||||
XTEST_DIR: /root/xts
|
|
||||||
before_script:
|
before_script:
|
||||||
- export CCACHE_BASEDIR="$PWD"
|
- export CCACHE_BASEDIR="$PWD"
|
||||||
- export CCACHE_DIR="$PWD/ccache"
|
- export CCACHE_DIR="$PWD/ccache"
|
||||||
|
@ -81,9 +79,10 @@ autotools-build-and-test:
|
||||||
script:
|
script:
|
||||||
- mkdir build/
|
- mkdir build/
|
||||||
- cd build/
|
- cd build/
|
||||||
|
- ../autogen.sh --prefix=/usr
|
||||||
|
- make -j$(nproc) distcheck
|
||||||
- |
|
- |
|
||||||
../autogen.sh --prefix=/usr
|
export PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts
|
||||||
make -j$(nproc) install
|
|
||||||
set +e
|
set +e
|
||||||
set -x
|
set -x
|
||||||
make -j$(nproc) check
|
make -j$(nproc) check
|
||||||
|
@ -93,6 +92,9 @@ autotools-build-and-test:
|
||||||
|
|
||||||
meson-build-and-test:
|
meson-build-and-test:
|
||||||
extends: .common-build-and-test
|
extends: .common-build-and-test
|
||||||
|
variables:
|
||||||
|
PIGLIT_DIR: /root/piglit
|
||||||
|
XTEST_DIR: /root/xts
|
||||||
script:
|
script:
|
||||||
- meson -Dprefix=/usr build/
|
- meson -Dprefix=/usr build/
|
||||||
- |
|
- |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user