summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-14 11:15:07 +0800
committerruki <[email protected]>2020-11-14 11:15:07 +0800
commitb068aec2ced39ec70a9479a7a2ace5802bff496d (patch)
treef5ae05a38ab1ccf7daa7db1531e37837a6cc2ee7 /.github/workflows
parent5465f5e95f2d308286950b2ed2536ba6925ed62e (diff)
update ci
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/debian_mips64.yml (renamed from .github/workflows/debian_mips.yml)2
-rw-r--r--.github/workflows/ubuntu_arm.yml13
-rw-r--r--.github/workflows/ubuntu_arm64.yml32
3 files changed, 33 insertions, 14 deletions
diff --git a/.github/workflows/debian_mips.yml b/.github/workflows/debian_mips64.yml
index 6ae4e84c9..0ee576e1a 100644
--- a/.github/workflows/debian_mips.yml
+++ b/.github/workflows/debian_mips64.yml
@@ -1,4 +1,4 @@
-name: Debian (Mips)
+name: Debian (Mips64)
on:
pull_request:
diff --git a/.github/workflows/ubuntu_arm.yml b/.github/workflows/ubuntu_arm.yml
index a8f0afa5c..e29aa3907 100644
--- a/.github/workflows/ubuntu_arm.yml
+++ b/.github/workflows/ubuntu_arm.yml
@@ -17,19 +17,6 @@ jobs:
- run: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
- - 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 &&
- export XMAKE_TMPDIR=/tmp &&
- xmake lua -v -D tests/run.lua && xrepo --version"
-
- uses: docker://multiarch/ubuntu-core:armhf-bionic
with:
args: >
diff --git a/.github/workflows/ubuntu_arm64.yml b/.github/workflows/ubuntu_arm64.yml
new file mode 100644
index 000000000..be7c7e169
--- /dev/null
+++ b/.github/workflows/ubuntu_arm64.yml
@@ -0,0 +1,32 @@
+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: >
+ bash -c
+ "uname -a &&
+ apt update &&
+ cd /github/workspace &&
+ ./scripts/get.sh __local__ &&
+ source ~/.xmake/profile &&
+ export XMAKE_ROOT=y &&
+ export XMAKE_TMPDIR=/tmp &&
+ xmake lua -v -D tests/run.lua && xrepo --version"
+