feat(ci): add github actions for meson.build on macOS and Ubuntu

This commit is contained in:
0verLighT
2026-01-09 21:08:42 +01:00
committed by kbz_8
parent e3ee9f0327
commit 5912aa5c12
4 changed files with 113 additions and 1 deletions

36
.github/workflows/macos_meson_arm.yml vendored git.filemode.normal_file
View File

@@ -0,0 +1,36 @@
name: macOS_meson_arm
on:
repository_dispatch:
types: [create-pull-request]
pull_request:
push:
paths-ignore:
- '.gitignore'
- 'LICENSE'
- 'README.md'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macOS-latest]
arch: [arm]
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install system dependencies
run: |
brew install SDL2
- name: Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Meson with pip
run: sudo pip3 install meson
- name: Build with meson
run: |
meson build --prefix=$PWD/ --bindir='' --libdir=''
ninja install -C build