From c97d5ca84afeb49b7e8b1f13d9f6ed9a613dbffa Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 12 Sep 2020 17:28:58 +0800 Subject: Update and rename ubuntu_arm64.yml to ubuntu_arm.yml --- .github/workflows/ubuntu_arm.yml | 42 ++++++++++++++++++++++++++++++++++++++ .github/workflows/ubuntu_arm64.yml | 33 ------------------------------ 2 files changed, 42 insertions(+), 33 deletions(-) create mode 100644 .github/workflows/ubuntu_arm.yml delete mode 100644 .github/workflows/ubuntu_arm64.yml diff --git a/.github/workflows/ubuntu_arm.yml b/.github/workflows/ubuntu_arm.yml new file mode 100644 index 000000000..5f5a2493a --- /dev/null +++ b/.github/workflows/ubuntu_arm.yml @@ -0,0 +1,42 @@ +name: Ubuntu (Arm) + +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:armhl-bionic + 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/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 && + xmake lua -v -D tests/run.lua" diff --git a/.github/workflows/ubuntu_arm64.yml b/.github/workflows/ubuntu_arm64.yml deleted file mode 100644 index da64b3706..000000000 --- a/.github/workflows/ubuntu_arm64.yml +++ /dev/null @@ -1,33 +0,0 @@ -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" -- cgit v1.3.1