-
-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (31 loc) · 835 Bytes
/
build.yml
File metadata and controls
33 lines (31 loc) · 835 Bytes
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
name: Build
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
name: Build
strategy:
matrix:
platform: ['macos', 'windows', 'ubuntu']
runs-on: ${{ matrix.platform }}-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
- name: Setup Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: '3.11'
- name: Dependencies
run: python3 -m pip install meson ninja
- name: Setup build
run: meson setup build
- name: Compile
run: meson compile -C build
- name: Meson Log
shell: bash
if: ${{ failure() }}
run: |
cat build/meson-logs/meson-log.txt