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