From b068aec2ced39ec70a9479a7a2ace5802bff496d Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 14 Nov 2020 11:15:07 +0800 Subject: update ci --- .github/workflows/debian_mips.yml | 31 ------------------------------- .github/workflows/debian_mips64.yml | 31 +++++++++++++++++++++++++++++++ .github/workflows/ubuntu_arm.yml | 13 ------------- .github/workflows/ubuntu_arm64.yml | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+), 44 deletions(-) delete mode 100644 .github/workflows/debian_mips.yml create mode 100644 .github/workflows/debian_mips64.yml create mode 100644 .github/workflows/ubuntu_arm64.yml diff --git a/.github/workflows/debian_mips.yml b/.github/workflows/debian_mips.yml deleted file mode 100644 index 6ae4e84c9..000000000 --- a/.github/workflows/debian_mips.yml +++ /dev/null @@ -1,31 +0,0 @@ -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:mips64el-stretch - 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" diff --git a/.github/workflows/debian_mips64.yml b/.github/workflows/debian_mips64.yml new file mode 100644 index 000000000..0ee576e1a --- /dev/null +++ b/.github/workflows/debian_mips64.yml @@ -0,0 +1,31 @@ +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:mips64el-stretch + 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" 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" + -- cgit v1.3.1