From a0a492009f956aecacf2483fccdc2a271eca1254 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 12 Sep 2020 16:55:09 +0800 Subject: Update and rename debian_mips64el.yml to debian_mips.yml --- .github/workflows/debian_mips.yml | 36 +++++++++++++++++++++++++++++++++++ .github/workflows/debian_mips64el.yml | 33 -------------------------------- 2 files changed, 36 insertions(+), 33 deletions(-) create mode 100644 .github/workflows/debian_mips.yml delete mode 100644 .github/workflows/debian_mips64el.yml diff --git a/.github/workflows/debian_mips.yml b/.github/workflows/debian_mips.yml new file mode 100644 index 000000000..83a4823ed --- /dev/null +++ b/.github/workflows/debian_mips.yml @@ -0,0 +1,36 @@ +name: Debian (Mips) + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + strategy: + matrix: + arch: [mips, mipsel, mips64, mips64el] + 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:${{matrix.arch}}-stretch + with: + args: 'uname -a' + + - uses: docker://multiarch/debian-debootstrap:${{matrix.arch}}-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" diff --git a/.github/workflows/debian_mips64el.yml b/.github/workflows/debian_mips64el.yml deleted file mode 100644 index b7f4e7b36..000000000 --- a/.github/workflows/debian_mips64el.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Debian (Mips64el) - -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:mips64el-stretch - with: - args: 'uname -a' - - - uses: docker://multiarch/debian-debootstrap:mips64el-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" -- cgit v1.3.1