-
-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (41 loc) · 1.34 KB
/
build.yml
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: Build
on: [push, pull_request]
jobs:
alpine:
runs-on: ubuntu-latest
container: "alpine:edge"
steps:
- name: Install prerequisites
run: |
apk add build-base git meson hwdata-dev libdisplay-info-dev libinput-dev libliftoff-dev libseat-dev libxcb-dev libxkbcommon-dev pixman-dev wayland-dev wayland-protocols xcb-util-renderutil-dev xcb-util-wm-dev xwayland-dev
- uses: actions/checkout@v4
- name: Build magpie
run: |
meson setup build
meson compile -C build
fedora:
runs-on: ubuntu-latest
container: "registry.fedoraproject.org/fedora:rawhide"
steps:
- name: Install prerequisites
run: |
dnf --assumeyes install gcc-c++ meson git-core pixman-devel \
'pkgconfig(hwdata)' \
'pkgconfig(libdisplay-info)' \
'pkgconfig(libdrm)' \
'pkgconfig(libliftoff)' \
'pkgconfig(libseat)' \
'pkgconfig(wayland-protocols)' \
'pkgconfig(wayland-scanner)' \
'pkgconfig(wayland-server)' \
'pkgconfig(wlroots)' \
'pkgconfig(xcb)' \
'pkgconfig(xcb-ewmh)' \
'pkgconfig(xcb-renderutil)' \
'pkgconfig(xkbcommon)' \
'pkgconfig(xwayland)'
- uses: actions/checkout@v4
- name: Build magpie
run: |
meson setup build
meson compile -C build