diff --git a/.github/workflows/archlinux.yml b/.github/workflows/archlinux.yml new file mode 100644 index 000000000..d1aaf4295 --- /dev/null +++ b/.github/workflows/archlinux.yml @@ -0,0 +1,32 @@ +name: Archlinux + +on: + pull_request: + push: + branches: + - dev + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest] + kind: [static, shared] + + container: archlinux:latest + runs-on: ${{ matrix.os }} + + steps: + - name: Installation + run: | + pacman -Sy --noconfirm --needed git base-devel perl make unzip + - uses: actions/checkout@v1 + - uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: branch@dev + + - name: Tests + env: + XMAKE_ROOT: y + run: | + xmake l ./scripts/test.lua -D -k ${{ matrix.kind }} diff --git a/packages/l/linux-tools/modules/bpftool.lua b/packages/l/linux-tools/modules/bpftool.lua index 234d5a2e6..32b85d316 100644 --- a/packages/l/linux-tools/modules/bpftool.lua +++ b/packages/l/linux-tools/modules/bpftool.lua @@ -1,5 +1,6 @@ function load(package) package:add("deps", "libcap", "libelf", "zlib", {host = true}) + package:add("deps", "python 3.x", {kind = "binary"}) package:addenv("PATH", "sbin") end