summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-12 17:25:29 +0800
committerGitHub <[email protected]>2020-09-12 17:25:29 +0800
commit9eeb4914027fd08558df6885237a93b304f98416 (patch)
tree61043caa8e5ee8bf87e44408b903d21b50a299b5
parent43f4b3f94569310b6019b9428b1a0e8ce525ceb8 (diff)
Update and rename debian_mips64.yml to debian_mips.yml
-rw-r--r--.github/workflows/debian_mips.yml54
-rw-r--r--.github/workflows/debian_mips64.yml33
2 files changed, 54 insertions, 33 deletions
diff --git a/.github/workflows/debian_mips.yml b/.github/workflows/debian_mips.yml
new file mode 100644
index 000000000..ed1700c4b
--- /dev/null
+++ b/.github/workflows/debian_mips.yml
@@ -0,0 +1,54 @@
+name: Debian (Mips)
+
+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/debian-debootstrap:mips-stretch
+ 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/debian-debootstrap:mipsel-stretch
+ 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/debian-debootstrap:mips64el-stretch
+ 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"
diff --git a/.github/workflows/debian_mips64.yml b/.github/workflows/debian_mips64.yml
deleted file mode 100644
index c420666d7..000000000
--- a/.github/workflows/debian_mips64.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-name: Debian (Mips64)
-
-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/debian-debootstrap:mips64-stretch
- with:
- args: 'uname -a'
-
- - uses: docker://multiarch/debian-debootstrap:mips64-stretch
- 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"