Skip to content

Try a matrix

Try a matrix #12

Workflow file for this run

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