drgn/.github/workflows/vmtest-build.yml
Omar Sandoval ca6c2b8734 vmtest: kbuild: add BPF kernel config options
We currently don't have any tests for the BPF helpers or the
bpf_inspect.py tool. As a result, the latter is broken on newer kernel
versions. Before we can add tests, we need the vmtest kernel to support
BPF.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2022-07-19 23:47:32 -07:00

29 lines
785 B
YAML

name: vmtest Build
on:
schedule:
- cron: '16 6 * * MON'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install dwarves libelf-dev
pip install aiohttp uritemplate
- name: Build and upload assets
run: python3 -m vmtest.manage --kernel-directory build/vmtest/linux.git --build-directory build/vmtest/kbuild -K
- name: Upload kernel build logs
if: always()
uses: actions/upload-artifact@v2
with:
name: kernel-build-logs
path: build/vmtest/kbuild/*.log
if-no-files-found: ignore