mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-18 15:29:06 +08:00
Due to the transition from Node 16 to Node 20, the checkout action needs to be updated to v4. More info: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Signed-off-by: Geyslan Gregório <geyslan@gmail.com>
43 lines
985 B
YAML
43 lines
985 B
YAML
name: libbpf-ci
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
schedule:
|
|
- cron: '0 18 * * *'
|
|
|
|
concurrency:
|
|
group: ci-test-${{ github.head_ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
vmtest:
|
|
runs-on: ${{ matrix.runs_on }}
|
|
name: Kernel ${{ matrix.kernel }} on ${{ matrix.runs_on }} + selftests
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- kernel: 'LATEST'
|
|
runs_on: ubuntu-20.04
|
|
arch: 'x86_64'
|
|
- kernel: '5.5.0'
|
|
runs_on: ubuntu-20.04
|
|
arch: 'x86_64'
|
|
- kernel: '4.9.0'
|
|
runs_on: ubuntu-20.04
|
|
arch: 'x86_64'
|
|
- kernel: 'LATEST'
|
|
runs_on: s390x
|
|
arch: 's390x'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
name: Checkout
|
|
- uses: ./.github/actions/setup
|
|
name: Setup
|
|
- uses: ./.github/actions/vmtest
|
|
name: vmtest
|
|
with:
|
|
kernel: ${{ matrix.kernel }}
|
|
arch: ${{ matrix.arch }}
|