CodeQL #8
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: 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 |