Skip to content

Try a matrix

Try a matrix #16

Workflow file for this run

name: Tests
on:
push:
schedule:
- cron: "* * 7 * *"
jobs:
build:
strategy:
matrix:
image: [ "ubuntu:latest", "ubuntu:22.04", "archlinux:latest" ]
continue-on-error: true
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare build environment
run: ./prepare.sh -u | tee -a "$GITHUB_ENV"
- run: find .
- run: git show
- run: git ls-files
- name: Build
run: make build
- name: Check README.md
run: tools/is-clean --make --root=doc README.md