feat: add macos workflow

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2024-04-29 21:10:04 -04:00 committed by Martin Lund
parent b763f1289b
commit 054326454b

30
.github/workflows/macos.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: macOS build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
brew install meson ninja pkg-config glib inih lua
- name: Build
run: |
meson setup build
meson compile -C build --verbose
meson install -C build --verbose