mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-23 17:53:07 +00:00
ca6c2b8734
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>
29 lines
785 B
YAML
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
|