add archlinux (#421)

pull/422/head
ruki 4 years ago committed by GitHub
parent 322edc5110
commit a88288b594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 32
      .github/workflows/archlinux.yml
  2. 1
      packages/l/linux-tools/modules/bpftool.lua

@ -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 }}

@ -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

Loading…
Cancel
Save