add: aarch64 auto build

This commit is contained in:
Tobias Reisinger 2020-08-17 12:41:26 +02:00
parent ac39546388
commit 6c12fa0be9
6 changed files with 64 additions and 5 deletions

View file

@ -1,3 +1,62 @@
---
kind: pipeline
name: makepkg-on-aarch64
workspace:
path: /drone/src
platform:
arch: arm64
steps:
- name: makepkg-core
image: serguzim/emgauwa-packager:aarch64
commands:
- cd core/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-core-testing
image: serguzim/emgauwa-packager:aarch64
commands:
- cd core-testing/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller
image: serguzim/emgauwa-packager:aarch64
commands:
- cd controller/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller-testing
image: serguzim/emgauwa-packager:aarch64
commands:
- cd controller-testing/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-webapp
image: serguzim/emgauwa-packager:aarch64
commands:
- cd webapp/
- makepkg -s -f --cleanbuild --noconfirm
- name: upload-packages
image: serguzim/drone-webdav:aarch64
settings:
file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.*
destination: https://serguzim.me/repo/archlinux/armv6h/emgauwa/
username:
from_secret: webdav_username
password:
from_secret: webdav_password
depends_on:
- makepkg-core
- makepkg-core-testing
- makepkg-controller
- makepkg-controller-testing
- makepkg-webapp
- name: send-webhook
image: plugins/webhook
settings:
urls:
from_secret: webhook_url
depends_on:
- upload-packages
---
kind: pipeline
name: makepkg-on-armv6h

View file

@ -4,7 +4,7 @@ pkgver=0.2.7
pkgrel=1
epoch=
pkgdesc=""
arch=('any')
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://git.serguzim.me/emgauwa/controller"
license=('unknown')
groups=()

View file

@ -4,7 +4,7 @@ pkgver=0.2.7
pkgrel=1
epoch=
pkgdesc=""
arch=('any')
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://git.serguzim.me/emgauwa/controller"
license=('unknown')
groups=()

View file

@ -4,7 +4,7 @@ pkgver=0.2.15
pkgrel=1
epoch=
pkgdesc=""
arch=('any')
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://git.serguzim.me/emgauwa/core"
license=('unknown')
groups=()

View file

@ -4,7 +4,7 @@ pkgver=0.2.15
pkgrel=1
epoch=
pkgdesc=""
arch=('any')
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://git.serguzim.me/emgauwa/core"
license=('unknown')
groups=()

View file

@ -4,7 +4,7 @@ pkgver=0.0.8
pkgrel=1
epoch=
pkgdesc=""
arch=('any')
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://git.serguzim.me/emgauwa/client"
license=('unknown')
groups=()