diff options
author | Brandon Maier <brandon.maier@collins.com> | 2023-09-02 10:19:31 -0500 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2023-09-03 22:20:35 +1000 |
commit | 6c5e189fb9527c4f69f8bd80e34eb24878795c47 (patch) | |
tree | 0e6c87556b1d976eb4c148e0d54dbef679a259eb /.github | |
parent | a3dc9f006a783bc0267784772e21a54cb54d85cf (diff) | |
download | dtc-6c5e189fb9527c4f69f8bd80e34eb24878795c47.zip dtc-6c5e189fb9527c4f69f8bd80e34eb24878795c47.tar.gz dtc-6c5e189fb9527c4f69f8bd80e34eb24878795c47.tar.bz2 |
github: add workflow for Meson builds
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8db026..be23b9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ name: Build test - main jobs: - build: + build-make: runs-on: ubuntu-latest strategy: @@ -35,3 +35,31 @@ jobs: - 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 |