mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
feat: add macos workflow
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
b763f1289b
commit
054326454b
1 changed files with 30 additions and 0 deletions
30
.github/workflows/macos.yml
vendored
Normal file
30
.github/workflows/macos.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue