Skip to content

ci: Add Fedora Rawhide build testing #2

ci: Add Fedora Rawhide build testing

ci: Add Fedora Rawhide build testing #2

Workflow file for this run

name: Meson CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Build (${{ matrix.distro }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- distro: "alpine"
container: "docker.io/alpine:edge"
- distro: "arch"
container: "ghcr.io/archlinux/archlinux:base-devel"
- distro: "fedora"
container: "quay.io/fedora/fedora:rawhide"
container:
image: ${{ matrix.container }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
if: matrix.distro == 'alpine'
run: |
apk update
apk upgrade
apk add \
libc-dev \
libxkbcommon-dev \
gcc \
meson \
wayland-dev \
wayland-protocols \
wlroots-dev
- name: Install dependencies
if: matrix.distro == 'arch'
run: |
sudo pacman -Syu --needed --noconfirm \
libxkbcommon \
meson \
wayland \
wayland-protocols \
wlroots0.19
- name: Install dependencies
if: matrix.distro == 'fedora'
run: |
dnf --assumeyes install \
meson \
gcc \
'pkgconfig(scdoc)' \
'pkgconfig(wayland-client)' \
'pkgconfig(wayland-cursor)' \
'pkgconfig(wayland-egl)' \
'pkgconfig(wayland-protocols)' \
'pkgconfig(wayland-server)' \
'pkgconfig(wlroots-0.19)' \
'pkgconfig(xkbcommon)'
- name: Set up problem matcher
uses: misyltoad/gcc-problem-matcher@master
- name: Configure project
run: meson setup --fatal-meson-warnings builddir/
env:
CC: gcc
- name: Build project
run: meson compile -C builddir/ -v