Add CI for debian+meson/autotools

Builds and runs tests. Using Debian testing since the test framework
is only in testing right now.
bsdstubs-errno
Christoph Reiter 2020-11-23 17:45:16 +01:00 committed by Ariadne Conill
parent 24589cddb0
commit b218cae5a9
1 changed files with 46 additions and 1 deletions

View File

@ -36,4 +36,49 @@ jobs:
export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0 export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0
meson -Dtests=false _build meson -Dtests=false _build
meson compile -C _build 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