summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu_arm.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ubuntu_arm.yml')
-rw-r--r--.github/workflows/ubuntu_arm.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu_arm.yml b/.github/workflows/ubuntu_arm.yml
new file mode 100644
index 000000000..5f5a2493a
--- /dev/null
+++ b/.github/workflows/ubuntu_arm.yml
@@ -0,0 +1,42 @@
+name: Ubuntu (Arm)
+
+on:
+ pull_request:
+ push:
+ release:
+ types: [published]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+
+ - run: |
+ docker run --rm --privileged multiarch/qemu-user-static:register --reset
+
+ - uses: docker://multiarch/ubuntu-core:armhl-bionic
+ with:
+ args: >
+ bash -c
+ "uname -a &&
+ apt update &&
+ cd /github/workspace &&
+ ./scripts/get.sh __local__ &&
+ source ~/.xmake/profile &&
+ export XMAKE_ROOT=y &&
+ xmake lua -v -D tests/run.lua"
+
+ - uses: docker://multiarch/ubuntu-core:arm64-bionic
+ with:
+ args: >
+ bash -c
+ "uname -a &&
+ apt update &&
+ cd /github/workspace &&
+ ./scripts/get.sh __local__ &&
+ source ~/.xmake/profile &&
+ export XMAKE_ROOT=y &&
+ xmake lua -v -D tests/run.lua"