Skip to content

Commit 05bcd2c

Browse files
authored
Merge pull request #52 from nightlark/add-arm-ci-build
Add ARM builds on Drone CI
2 parents 65957f4 + 37fafe5 commit 05bcd2c

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.drone.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
kind: pipeline
2+
name: arm
3+
4+
platform:
5+
os: linux
6+
arch: arm
7+
8+
steps:
9+
- name: build
10+
image: alpine
11+
failure: ignore
12+
commands:
13+
- apk update
14+
- apk add --no-cache build-base cmake sudo
15+
- addgroup testgrp
16+
- adduser --disabled-password testuser testgrp
17+
- passwd testuser -u -d
18+
- chown -R testuser:testgrp .
19+
- sudo -u testuser .ci/unix-build.sh
20+
- sudo -u testuser .ci/unix-test.sh
21+
22+
---
23+
24+
kind: pipeline
25+
name: arm64
26+
27+
platform:
28+
os: linux
29+
arch: arm64
30+
31+
steps:
32+
- name: build
33+
image: alpine
34+
failure: ignore
35+
commands:
36+
- apk update
37+
- apk add --no-cache build-base cmake
38+
- addgroup testgrp
39+
- adduser --disabled-password testuser testgrp
40+
- passwd testuser -u -d
41+
- chown -R testuser:testgrp .
42+
- su -c "./.ci/unix-build.sh" testuser
43+
- su -c "./.ci/unix-test.sh" testuser

0 commit comments

Comments
 (0)