Add CI for debian+meson/autotools
Builds and runs tests. Using Debian testing since the test framework is only in testing right now.pull/204/head
parent
24589cddb0
commit
b218cae5a9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue