Waybar/.github/workflows/linux.yml

35 lines
731 B
YAML
Raw Normal View History

2021-07-01 06:28:01 +00:00
name: linux
on: [push, pull_request]
2024-02-19 22:09:24 +00:00
concurrency:
group: ${{ github.workflow }}-linux-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
2021-07-01 06:28:01 +00:00
jobs:
build:
strategy:
2024-06-09 18:31:46 +00:00
fail-fast: false
2021-07-01 06:28:01 +00:00
matrix:
distro:
- alpine
- archlinux
- debian
- fedora
- opensuse
- gentoo
2023-07-16 13:05:42 +00:00
cpp_std: [c++20]
2021-07-01 06:28:01 +00:00
runs-on: ubuntu-latest
container:
image: alexays/waybar:${{ matrix.distro }}
steps:
- uses: actions/checkout@v3
2021-07-01 06:28:01 +00:00
- name: configure
run: meson setup -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