---
kind: pipeline
name: makepkg-on-arm
workspace:
path: /drone/src
platform:
arch: arm
steps:
- name: makepkg-core
image: serguzim/emgauwa-packager
commands:
- cd core/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-core-testing
- cd core-testing/
- name: makepkg-controller
- cd controller/
- name: makepkg-controller-testing
- cd controller-testing/
- name: makepkg-webapp
- cd webapp/
- name: upload_package
image: serguzim/drone-webdav
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
- name: send-webhook
image: plugins/webhook
urls:
from_secret: webhook_url
#---
#kind: pipeline
#name: makepkg-on-amd64
#
#platform:
# arch: amd64
#steps:
#- name: test
# image: gcc
# commands:
# - ./configure
# - make
# - make test