Skip to content

fix: some compiler warnings (func def. w/o decl.) #1160

fix: some compiler warnings (func def. w/o decl.)

fix: some compiler warnings (func def. w/o decl.) #1160

Workflow file for this run

name: Driverkit
on:
pull_request:
paths:
- 'driver/**'
jobs:
build-drivers:
strategy:
matrix:
name: [linux-2.6.x, linux-3.x, linux-4.x, linux-5.x, linux-6.x]
include:
- name: linux-2.6.x
kernelrelease: 2.6.32-754.el6.x86_64
target: centos
kernelurls: https://download.falco.org/fixtures/libs/kernel-devel-2.6.32-754.el6.x86_64.rpm
- name: linux-3.x
kernelrelease: 3.10.0-957.el7.x86_64
target: centos
kernelurls: https://download.falco.org/fixtures/libs/kernel-devel-3.10.0-957.el7.x86_64.rpm
- name: linux-4.x
kernelrelease: 4.18.0-305.25.1.el8_4.x86_64
target: centos
kernelurls: https://download.falco.org/fixtures/libs/kernel-devel-4.18.0-305.25.1.el8_4.x86_64.rpm
- name: linux-5.x
kernelrelease: 5.19.12.arch1-1
target: arch
kernelurls: https://download.falco.org/fixtures/libs/linux-headers-5.19.12.arch1-1-x86_64.pkg.tar.zst
- name: linux-6.x
kernelrelease: 6.2.arch1-1
target: arch
kernelurls: https://download.falco.org/fixtures/libs/linux-headers-6.2.arch1-1-x86_64.pkg.tar.zst
runs-on: ubuntu-latest
container:
image: falcosecurity/driverkit:latest
steps:
- name: Test drivers build on ${{ matrix.name }}
run: |
driverkit docker --kernelrelease ${{ matrix.kernelrelease }} --target ${{ matrix.target }} --output-module /tmp/libs.ko --output-probe /tmp/libs.o --driverversion $GITHUB_SHA --loglevel debug --kernelurls ${{ matrix.kernelurls }}
build-drivers-arm64:
strategy:
matrix:
name: [linux-4.x, linux-5.x, linux-6.x]
include:
- name: linux-4.x
kernelrelease: 4.18.0-305.25.1.el8_4.aarch64
target: centos
kernelurls: https://download.falco.org/fixtures/libs/kernel-devel-4.18.0-305.25.1.el8_4.aarch64.rpm
- name: linux-5.x
kernelrelease: 5.14.0-331.el9.aarch64
target: centos
kernelurls: https://download.falco.org/fixtures/libs/kernel-devel-5.14.0-331.el9.aarch64.rpm
- name: linux-6.x
kernelrelease: 6.4.1-1.el9.elrepo.aarch64
target: centos
kernelurls: https://download.falco.org/fixtures/libs/kernel-ml-devel-6.4.1-1.el9.elrepo.aarch64.rpm
runs-on: ubuntu-latest
container:
image: falcosecurity/driverkit:latest
steps:
- name: Test drivers build on ${{ matrix.name }}
run: |
driverkit docker --kernelrelease ${{ matrix.kernelrelease }} --target ${{ matrix.target }} --output-module /tmp/libs.ko --output-probe /tmp/libs.o --driverversion $GITHUB_SHA --loglevel debug --kernelurls ${{ matrix.kernelurls }} --architecture arm64 --timeout 600