compile and unit test on rolling distros #116
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: compile and unit test on rolling distros | |
on: | |
push: | |
branches: | |
- master | |
- queue | |
- tip | |
paths: | |
- '**.h' | |
- '**.c' | |
- '**Makefile*' | |
- '**.mk' | |
pull_request: | |
branches: | |
- master | |
- queue | |
paths: | |
- '**.h' | |
- '**.c' | |
- '**Makefile*' | |
- '**.mk' | |
# run weekly to catch rolling distro changes | |
schedule: | |
- cron: '30 06 * * 1' | |
jobs: | |
rolling: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- debian-sid | |
- alpine | |
- opensuse-tumbleweed | |
- fedora-rawhide | |
container: ghcr.io/mwilck/multipath-build-${{ matrix.os }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: build and test | |
run: make READLINE=libreadline -j -Orecurse test | |
- name: clean | |
run: make -j -Orecurse clean | |
- name: clang | |
env: | |
CC: clang | |
run: make READLINE=libedit -j -Orecurse test |