Add CI for debian+meson/autotools

Builds and runs tests. Using Debian testing since the test framework
is only in testing right now.
master
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

@ -37,3 +37,48 @@ jobs:
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