summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 08:24:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 08:24:23 +0000
commit67c27783d7735af6ba22b9f031d97ca4ea56c29c (patch)
tree17770fad3c90bf420cb2470e6e51255fcbf31bf9 /.github/workflows/test.yml
parentInitial commit. (diff)
downloadlibbpf-67c27783d7735af6ba22b9f031d97ca4ea56c29c.tar.xz
libbpf-67c27783d7735af6ba22b9f031d97ca4ea56c29c.zip
Adding upstream version 1.1.0.upstream/1.1.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..1e7224c
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,42 @@
+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@v3
+ name: Checkout
+ - uses: ./.github/actions/setup
+ name: Setup
+ - uses: ./.github/actions/vmtest
+ name: vmtest
+ with:
+ kernel: ${{ matrix.kernel }}
+ arch: ${{ matrix.arch }}