blob: be23b9fcaf619413b225e06908ba10078ac22647 [file] [log] [blame]
---
name: Build test
'on':
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-make:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ "alpine", "archlinux", "fedora", "ubuntu" ]
container:
image: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
./scripts/install-deps.sh
- name: Build
run: |
make
- name: Run check
run: |
make check
build-meson:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ "alpine", "archlinux", "fedora", "ubuntu" ]
container:
image: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
./scripts/install-deps.sh
- name: Setup
run: meson setup build
- name: Build
run: meson compile -C build
- name: Run check
run: meson test -C build