Add minimum Meson version #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |