aboutsummaryrefslogtreecommitdiffstats
path: root/gulrak-filesystem/.drone.yml
blob: da967a49fe5775db4cb6a091a8a2d1013b2751df (plain) (blame)
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
36
37
38
39
40
41
42
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