From b218cae5a9a3bc80a04870de279ae51e3c37e166 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 23 Nov 2020 17:45:16 +0100 Subject: [PATCH] Add CI for debian+meson/autotools Builds and runs tests. Using Debian testing since the test framework is only in testing right now. --- .github/workflows/test.yml | 47 +++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 95e428b..19a32db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,4 +36,49 @@ jobs: export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0 meson -Dtests=false _build - meson compile -C _build \ No newline at end of file + meson compile -C _build + + debian-meson: + runs-on: ubuntu-latest + container: + image: debian:bullseye + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Update system and add dependencies + run: | + apt-get update + apt-get install -y kyua atf-sh build-essential meson + + - name: Build + run: | + meson _build + meson compile -C _build + + - name: Run tests + run: | + meson test -v -C _build + + debian-autotools: + runs-on: ubuntu-latest + container: + image: debian:bullseye + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Update system and add dependencies + run: | + apt-get update + apt-get install -y kyua atf-sh build-essential autoconf libtool + + - name: Build + run: | + ./autogen.sh + ./configure + make -j9 + + - name: Run tests + run: | + make check