2021-07-01 06:28:01 +00:00
|
|
|
name: linux
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
distro:
|
|
|
|
- alpine
|
|
|
|
- archlinux
|
|
|
|
- debian
|
|
|
|
- fedora
|
|
|
|
- opensuse
|
2022-07-06 09:50:21 +00:00
|
|
|
- gentoo
|
2023-01-17 07:56:26 +00:00
|
|
|
cpp_std: [c++17]
|
|
|
|
include:
|
|
|
|
- distro: fedora
|
|
|
|
cpp_std: c++20
|
2021-07-01 06:28:01 +00:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: alexays/waybar:${{ matrix.distro }}
|
|
|
|
|
|
|
|
steps:
|
2023-01-17 07:56:26 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-01 06:28:01 +00:00
|
|
|
- name: configure
|
2023-01-17 07:56:26 +00:00
|
|
|
run: meson -Dman-pages=enabled -Dcpp_std=${{matrix.cpp_std}} build
|
2021-07-01 06:28:01 +00:00
|
|
|
- name: build
|
|
|
|
run: ninja -C build
|
2021-09-14 07:02:38 +00:00
|
|
|
- name: test
|
2023-03-13 00:50:19 +00:00
|
|
|
run: make test
|