Add pahole staging workflow #4
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: pahole staging | |
on: | |
schedule: | |
- cron: '0 0 * * 0' # once a week | |
push: | |
branches: | |
- "pahole-staging" | |
workflow_dispatch: | |
inputs: | |
origin: | |
default: 'https://git.kernel.org/pub/scm/devel/pahole/pahole.git' | |
required: true | |
rev: | |
default: 'next' | |
required: true | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
runs_on: ["ubuntu-24.04"] | |
build_runs_on: ["ubuntu-24.04"] | |
arch: ["x86_64", "aarch64", "s390x"] | |
toolchain: | |
- { "name": "llvm", "fullname": "llvm-18", "version": 18 } | |
tests: | |
- include: | |
- { "test": "test_progs", "continue_on_error": false, "timeout_minutes": 360 } | |
fail-fast: false | |
name: "pahole@next ${{ matrix.arch }}" | |
uses: ./.github/workflows/kernel-build-test.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
arch: ${{ matrix.arch }} | |
build_release: false | |
build_runs_on: ${{ toJSON(matrix.build_runs_on) }} | |
download_sources: ${{ github.repository == 'kernel-patches/vmtest' }} | |
kernel: 'LATEST' | |
llvm-version: ${{ matrix.toolchain.version }} | |
pahole-origin: ${{ inputs.origin || 'https://git.kernel.org/pub/scm/devel/pahole/pahole.git' }} | |
pahole-rev: ${{ inputs.rev || 'next' }} | |
run_tests: true | |
run_veristat: false | |
runs_on: ${{ toJSON(matrix.runs_on) }} | |
tests: ${{ toJSON(matrix.tests) }} | |
toolchain: ${{ matrix.toolchain.name }} | |
toolchain_full: ${{ matrix.toolchain.fullname }} | |
# we need to pass AWS_ROLE_ARN, because github complains it's "required" | |
# however it's not used, because we don't run veristat | |
secrets: | |
AWS_ROLE_ARN: '' |