From 1248843e267599672952abd8d94e61b4f7b17ac8 Mon Sep 17 00:00:00 2001 From: Brenden Forward Date: Wed, 7 Feb 2024 11:24:09 -0500 Subject: [PATCH] add meson CI workflow --- .github/workflows/build-meson.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build-meson.yml diff --git a/.github/workflows/build-meson.yml b/.github/workflows/build-meson.yml new file mode 100644 index 00000000..4629d7ad --- /dev/null +++ b/.github/workflows/build-meson.yml @@ -0,0 +1,25 @@ +name: build-meson + +on: [push, pull_request] + +jobs: + meson: + timeout-minutes: 60 + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Install Meson + env: + DEBIAN_FRONTEND: noninteractive + run: | + sudo apt-get update --fix-missing + sudo apt-get install -y meson + - name: Meson Build (shared) + run: | + meson setup build + meson compile -C build + - name: Meson Build (static) + run: | + rm -rf build/ + meson setup build --default-library=static + meson compile -C build