From 08aa0ef4000ceedfb3e06395396a3eeaf39f52a3 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 19 Feb 2019 20:09:06 +0000 Subject: drone: add drone config This add support for cloud.drone.io CI on master/edge Supported arches are - x86 - x86_64 - armhf - armv7 - aarch64 --- .drone.yml | 145 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 .drone.yml (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000000..7c3c8d0f02 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,145 @@ +--- +kind: pipeline +name: edge-x86 + +clone: + depth: 50 + +platform: + os: linux + arch: amd64 + +workspace: + base: /home/buildozer/drone + path: aports + +steps: + - name: build + image: alpinelinux/alpine-drone-ci:edge-x86 + commands: + - build.sh + environment: + GH_TOKEN: + from_secret: github_token + pull: always + +trigger: + event: + - pull_request + +--- +kind: pipeline +name: edge-x86_64 + +clone: + depth: 50 + +platform: + os: linux + arch: amd64 + +workspace: + base: /home/buildozer/drone + path: aports + +steps: + - name: build + image: alpinelinux/alpine-drone-ci:edge-x86_64 + commands: + - build.sh + environment: + GH_TOKEN: + from_secret: github_token + pull: always + +trigger: + event: + - pull_request + +--- +kind: pipeline +name: edge-aarch64 + +clone: + depth: 50 + +platform: + os: linux + arch: arm64 + +workspace: + base: /home/buildozer/drone + path: aports + +steps: + - name: build + image: alpinelinux/alpine-drone-ci:edge-aarch64 + commands: + - build.sh + environment: + GH_TOKEN: + from_secret: github_token + pull: always + +trigger: + event: + - pull_request + +--- +kind: pipeline +name: edge-armhf + +clone: + depth: 50 + +platform: + os: linux + arch: arm + +workspace: + base: /home/buildozer/drone + path: aports + +steps: + - name: build + image: alpinelinux/alpine-drone-ci:edge-armhf + commands: + - build.sh + environment: + GH_TOKEN: + from_secret: github_token + pull: always + +trigger: + event: + - pull_request + +--- +kind: pipeline +name: edge-armv7 + +clone: + depth: 50 + +platform: + os: linux + arch: arm + +workspace: + base: /home/buildozer/drone + path: aports + +steps: + - name: build + image: alpinelinux/alpine-drone-ci:edge-armv7 + commands: + - build.sh + environment: + GH_TOKEN: + from_secret: github_token + pull: always + +trigger: + event: + - pull_request + -- cgit v1.2.3