aboutsummaryrefslogtreecommitdiffstats
path: root/gulrak-filesystem/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to 'gulrak-filesystem/.drone.yml')
-rw-r--r--gulrak-filesystem/.drone.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/gulrak-filesystem/.drone.yml b/gulrak-filesystem/.drone.yml
new file mode 100644
index 0000000..da967a4
--- /dev/null
+++ b/gulrak-filesystem/.drone.yml
@@ -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