Merge pull request #2114 from mmhat/split-cpu-module #1554
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
distro: | |
- alpine | |
- archlinux | |
- debian | |
- fedora | |
- opensuse | |
- gentoo | |
cpp_std: [c++20] | |
include: | |
- distro: fedora | |
cpp_std: c++20 | |
runs-on: ubuntu-latest | |
container: | |
image: alexays/waybar:${{ matrix.distro }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: meson -Dman-pages=enabled -Dcpp_std=${{matrix.cpp_std}} build | |
- name: build | |
run: ninja -C build | |
- name: test | |
run: make test |