-
Notifications
You must be signed in to change notification settings - Fork 72
40 lines (36 loc) · 1.71 KB
/
builds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: docker build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- image: centos:7
run: yum install -y kernel-devel kernel gcc make elfutils-libelf-devel
- image: almalinux:8
run: yum install -y kernel-devel kernel gcc make elfutils-libelf-devel
- image: rockylinux:8
run: yum install -y kernel-devel kernel gcc make elfutils-libelf-devel
- image: quay.io/centos/centos:stream8
run: dnf install -y kernel-devel kernel gcc make elfutils-libelf-devel
- image: quay.io/centos/centos:stream9
run: dnf install -y --nobest kernel-devel-matched gcc make
- image: fedora:latest
run: dnf install -y kernel-devel kernel gcc make elfutils-libelf-devel
- image: alt:sisyphus
run: apt-get update; apt-get install -y kernel-headers-modules-un-def gcc make libelf-devel
- image: opensuse/tumbleweed
run: zypper -n install -y gcc make kernel-default-devel
- image: opensuse/leap
run: zypper -n install -y gcc make kernel-default-devel
container:
image: ${{ matrix.image }}
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v1
- run: cat /etc/os-release
- run: ${{ matrix.run }}
- run: make -j$(nproc) KERNELRELEASE=$(cd /lib/modules; ls)
# vim: sw=4