2019-12-17 11:22:10 +01:00
|
|
|
name: Build and test (linux matrix)
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
dockerenv:
|
2021-08-30 13:09:29 +02:00
|
|
|
- debian:bookworm
|
|
|
|
- debian:bullseye
|
2019-12-17 11:22:10 +01:00
|
|
|
- debian:buster
|
2021-08-30 13:09:29 +02:00
|
|
|
- ubuntu:focal
|
2019-12-17 11:22:10 +01:00
|
|
|
- ubuntu:bionic
|
2021-08-30 13:09:29 +02:00
|
|
|
- fedora/fedora:34
|
|
|
|
- fedora/fedora:33
|
|
|
|
- centos/centos:stream8
|
|
|
|
- centos/centos:7
|
|
|
|
- rockylinux/rockylinux:8
|
|
|
|
- alpine:edge
|
|
|
|
- alpine:3.14
|
2019-12-17 11:22:10 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Run build on ${{matrix.dockerenv}}
|
|
|
|
run: docker build . --file .github/images/${{matrix.dockerenv}}.Dockerfile --build-arg image=${{matrix.dockerenv}}
|