2021-07-01 08:28:01 +02:00
|
|
|
name: linux
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
distro:
|
|
|
|
- alpine
|
|
|
|
- archlinux
|
|
|
|
- debian
|
|
|
|
- fedora
|
|
|
|
- opensuse
|
2022-07-06 11:50:21 +02:00
|
|
|
- gentoo
|
2023-07-16 15:05:42 +02:00
|
|
|
cpp_std: [c++20]
|
2023-01-17 08:56:26 +01:00
|
|
|
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:
|
2023-01-17 08:56:26 +01:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-01 08:28:01 +02:00
|
|
|
- name: configure
|
2023-01-17 08:56:26 +01:00
|
|
|
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
|
2023-03-13 01:50:19 +01:00
|
|
|
run: make test
|