CI: build and run unit tests

Run `make check` after the project is built in every runner.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa
2023-09-14 14:41:23 +02:00
committed by Iker Pedrosa
parent 015448b049
commit 0fc697a4b1
4 changed files with 9 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ jobs:
sudo apt-mark hold grub-efi-amd64-bin grub-efi-amd64-signed
sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get -y install ubuntu-dev-tools automake autopoint xsltproc gettext expect byacc libtool libbsd-dev pkgconf
sudo apt-get -y install ubuntu-dev-tools automake autopoint xsltproc gettext expect byacc libtool libbsd-dev pkgconf libcmocka-dev
sudo apt-get -y build-dep shadow
- name: configure
run: |
@@ -83,6 +83,7 @@ jobs:
cd $d
./configure
make -j5
make check
container-build:
runs-on: ubuntu-latest