Skip to content

Commit

Permalink
Merge pull request #52 from nightlark/add-arm-ci-build
Browse files Browse the repository at this point in the history
Add ARM builds on Drone CI
  • Loading branch information
gulrak authored Mar 4, 2020
2 parents 65957f4 + 37fafe5 commit 05bcd2c
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
kind: pipeline
name: arm

platform:
os: linux
arch: arm

steps:
- name: build
image: alpine
failure: ignore
commands:
- apk update
- apk add --no-cache build-base cmake sudo
- addgroup testgrp
- adduser --disabled-password testuser testgrp
- passwd testuser -u -d
- chown -R testuser:testgrp .
- sudo -u testuser .ci/unix-build.sh
- sudo -u testuser .ci/unix-test.sh

---

kind: pipeline
name: arm64

platform:
os: linux
arch: arm64

steps:
- name: build
image: alpine
failure: ignore
commands:
- apk update
- apk add --no-cache build-base cmake
- addgroup testgrp
- adduser --disabled-password testuser testgrp
- passwd testuser -u -d
- chown -R testuser:testgrp .
- su -c "./.ci/unix-build.sh" testuser
- su -c "./.ci/unix-test.sh" testuser

0 comments on commit 05bcd2c

Please sign in to comment.