From 72b13cfc655668338b9df8df24ae674e968465aa Mon Sep 17 00:00:00 2001 From: Florian Schlichting Date: Mon, 13 Mar 2023 22:18:04 +0100 Subject: [PATCH] gitlab-ci.yml: add missing phpunit, awl to targets running debuild we now require this for "make test" --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69a69e0f..8c204352 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ build: script: - apt-get -y update - bash -c 'mkdir -p /usr/share/man/man{0..10}' - - apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli + - apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli phpunit - mv debian/changelog debian/changelog.old - > cat @@ -22,6 +22,8 @@ build: debian/changelog.old >debian/changelog - rm debian/changelog.old + - curl 'https://gitlab.com/davical-project/awl/-/archive/master/awl-master.tar.gz' | tar zxf - + - mv awl-master /usr/share/awl/ - debuild -us -uc -b -d - 'mv ../davical_*_all.deb ./davical.deb' artifacts: @@ -170,6 +172,10 @@ build_bullseye_latestphp: debian/changelog.old >debian/changelog - rm debian/changelog.old + - curl 'https://gitlab.com/davical-project/awl/-/archive/master/awl-master.tar.gz' | tar zxf - + - mv awl-master /usr/share/awl/ + - curl -o /usr/bin/phpunit -L https://phar.phpunit.de/phpunit-9.phar + - chmod +x /usr/bin/phpunit - debuild --prepend-path=/usr/local/bin -us -uc -b -d - 'mv ../davical_*_all.deb ./davical.deb' artifacts: