Skip to content

Commit

Permalink
Use kernel-build and kernel-test workflows from libbpf/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
theihor committed Oct 17, 2024
1 parent 99aee90 commit a8046b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 215 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/kernel-build-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Reusable Build/Test/Veristat workflow
# This workflow is mostly the same as libbpf/ci/.github/workflows/kernel-build-test.yml
# except that it also runs the veristat workflow.

name: Build/Test/Veristat workflow
on:
workflow_call:
inputs:
Expand Down Expand Up @@ -60,7 +62,7 @@ on:
jobs:
# Build kernel and selftest
build:
uses: ./.github/workflows/kernel-build.yml
uses: libbpf/ci/.github/workflows/kernel-build.yml@v1
with:
arch: ${{ inputs.arch }}
toolchain_full: ${{ inputs.toolchain_full }}
Expand All @@ -71,7 +73,7 @@ jobs:
download_sources: ${{ inputs.download_sources }}
build-release:
if: ${{ inputs.build_release }}
uses: ./.github/workflows/kernel-build.yml
uses: libbpf/ci/.github/workflows/kernel-build.yml@v1
with:
arch: ${{ inputs.arch }}
toolchain_full: ${{ inputs.toolchain_full }}
Expand All @@ -83,7 +85,7 @@ jobs:
release: true
test:
if: ${{ inputs.run_tests }}
uses: ./.github/workflows/kernel-test.yml
uses: libbpf/ci/.github/workflows/kernel-test.yml@v1
# Setting name to test here to avoid lengthy autogenerated names due to matrix
# e.g build-and-test x86_64-gcc / test (test_progs_parallel, true, 30) / test_progs_parallel on x86_64 with gcc
name: "test"
Expand All @@ -99,7 +101,6 @@ jobs:
test: ${{ matrix.test }}
continue_on_error: ${{ toJSON(matrix.continue_on_error) }}
timeout_minutes: ${{ matrix.timeout_minutes }}

veristat:
if: ${{ inputs.run_veristat }}
uses: ./.github/workflows/kernel-veristat.yml
Expand Down
139 changes: 0 additions & 139 deletions .github/workflows/kernel-build.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/kernel-test.yml

This file was deleted.

0 comments on commit a8046b7

Please sign in to comment.