summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-12 14:33:17 +0800
committerGitHub <[email protected]>2020-09-12 14:33:17 +0800
commit40365b269230f0b36a4023a4f1a0eded47d303cf (patch)
tree5880c9965a2d8aaea41d2ebde5726aac42638f73
parent795368464cc23b19bee2915345cd5358c6b14dd8 (diff)
Create ubuntu_arm64.yml
-rw-r--r--.github/workflows/ubuntu_arm64.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu_arm64.yml b/.github/workflows/ubuntu_arm64.yml
new file mode 100644
index 000000000..da64b3706
--- /dev/null
+++ b/.github/workflows/ubuntu_arm64.yml
@@ -0,0 +1,33 @@
+name: Ubuntu (Arm64)
+
+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:arm64-bionic
+ with:
+ args: 'uname -a'
+
+ - uses: docker://multiarch/ubuntu-core:arm64-bionic
+ with:
+ args: >
+ bash -c
+ "apt update &&
+ cd /github/workspace &&
+ ./scripts/get.sh __local__ &&
+ source ~/.xmake/profile &&
+ export XMAKE_ROOT=y &&
+ xmake lua -v -D tests/run.lua"