blob: e7ff79af404dfd4b151290a088354aadfe445f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
name: Meson Builds
on: [push, pull_request]
jobs:
build:
name: Meson on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2025, macos-15]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install Meson and Ninja
run: python -m pip install meson ninja
- name: Configure with Clang-CL on Windows
if: runner.os == 'Windows'
env:
CC: clang-cl
CXX: clang-cl
run: meson setup build/meson --vsenv -Dtests=true -Dinstall=false
- name: Configure with Apple Clang on macOS
if: runner.os == 'macOS'
env:
CC: clang
CXX: clang++
run: meson setup build/meson -Dtests=true -Dinstall=false
- name: Build
run: meson compile -C build/meson
- name: Test
run: meson test -C build/meson --print-errorlogs
|