waybar/.github/workflows/linux.yml

33 lines
688 B
YAML
Raw Normal View History

2021-07-01 08:28:01 +02:00
name: linux
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
distro:
- alpine
- archlinux
- debian
- fedora
- opensuse
- gentoo
cpp_std: [c++17]
include:
- distro: fedora
cpp_std: c++20
2021-07-01 08:28:01 +02:00
runs-on: ubuntu-latest
container:
image: alexays/waybar:${{ matrix.distro }}
steps:
- uses: actions/checkout@v3
2021-07-01 08:28:01 +02:00
- name: configure
run: meson -Dman-pages=enabled -Dcpp_std=${{matrix.cpp_std}} build
2021-07-01 08:28:01 +02:00
- name: build
run: ninja -C build
2021-09-14 09:02:38 +02:00
- name: test
run: meson test -C build --no-rebuild --verbose --suite waybar