Skip to content

Add cgroup v2 support #6

Add cgroup v2 support

Add cgroup v2 support #6

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install apt dependency
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: Install bpf-linker
run: |
cargo install bpf-linker
- name: Build
run: cargo build --release
- uses: actions/upload-artifact@v4
with:
name: 'container-hotplug'
path: target/release/container-hotplug
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: target/release/container-hotplug