-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (33 loc) · 888 Bytes
/
ci.yaml
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
43
44
name: build
on: [push, pull_request, workflow_dispatch]
defaults:
run:
shell: bash
permissions:
contents: write
jobs:
build:
name: "MTRX (Arch)"
runs-on: ubuntu-latest
container:
image: archlinux
steps:
- name: Checkout repository actions
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions
- name: Setup base
run: |
pacman --noconfirm --noprogressbar -Syyu
pacman --noconfirm --noprogressbar -Sy \
base-devel clang gcc meson
- name: Meson download
run: meson subprojects download
- name: Meson setup
run: meson setup build --buildtype release
- name: Check (clang-format)
run: ninja -C build clang-format-check
- name: Build
run: ninja -C build
- name: Test
run: ninja -C build test