forked from xmake-io/xmake
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 891 Bytes
/
ubuntu_arm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Ubuntu (Arm)
on:
pull_request:
push:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-UbuntuArm
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
- uses: docker://multiarch/ubuntu-core:armhf-bionic
with:
args: >
bash -c
"uname -a &&
apt update && apt install -y unzip &&
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"