Test drivers against a matrix of kernels/distros #64
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: Test drivers against a matrix of kernels/distros | |
on: | |
workflow_dispatch: | |
inputs: | |
libsversion: | |
description: 'libs version to be tested, eg: master' | |
type: string | |
required: false | |
default: 'master' | |
libsrepo: | |
description: 'libs repo to be tested, eg: falcosecurity/libs' | |
type: string | |
required: false | |
default: 'falcosecurity/libs' | |
workflow_call: | |
inputs: | |
libsversion: | |
description: 'libs version to be tested, eg: master' | |
type: string | |
required: false | |
default: 'master' | |
libsrepo: | |
description: 'libs repo to be tested, eg: falcosecurity/libs' | |
type: string | |
required: false | |
default: 'falcosecurity/libs' | |
concurrency: | |
group: kernel-tests | |
cancel-in-progress: false | |
jobs: | |
test-kernels: | |
strategy: | |
fail-fast: false | |
matrix: | |
architecture: [X64, ARM64] | |
runs-on: [ "self-hosted", "linux", "${{matrix.architecture}}" ] | |
steps: | |
- uses: falcosecurity/[email protected] | |
id: kernel_tests | |
with: | |
libsversion: ${{ inputs.libsversion }} | |
libsrepo: ${{ inputs.libsrepo }} | |
build_matrix: 'true' | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: ansible_output_${{matrix.architecture}} | |
path: ${{ steps.kernel_tests.outputs.ansible_output }} | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: matrix_${{matrix.architecture}} | |
path: ${{ steps.kernel_tests.outputs.matrix_output }} |