ci: export XDG_RUNTIME_DIR when running the tests

Recent changes make some tests start an internal pipewire server,
which requires XDG_RUNTIME_DIR to create the socket file
This commit is contained in:
George Kiagiadakis 2019-12-09 09:24:22 +02:00 committed by Wim Taymans
parent f69a4feced
commit a81f920fad

View file

@ -50,7 +50,7 @@ build:
script:
- ./autogen.sh -Ddocs=true -Daudiomixer=true -Daudiotestsrc=true -Dtest=true -Dvideotestsrc=true -Dvolume=true
- make
- make test
- XDG_RUNTIME_DIR=$PWD/build make test
- DESTDIR=$PWD/build/i make install
- PREFIX=$PWD/build/i/usr/local ./check_missing_headers.sh
artifacts: