This repository has been archived on 2024-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
package/.drone.yml

65 lines
1.3 KiB
YAML

---
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
image: serguzim/emgauwa-packager
commands:
- cd core-testing/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller
image: serguzim/emgauwa-packager
commands:
- cd controller/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller-testing
image: serguzim/emgauwa-packager
commands:
- cd controller-testing/
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-webapp
image: serguzim/emgauwa-packager
commands:
- cd webapp/
- makepkg -s -f --cleanbuild --noconfirm
- 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
settings:
urls:
from_secret: webhook_url
#---
#kind: pipeline
#name: makepkg-on-amd64
#
#platform:
# arch: amd64
#
#steps:
#- name: test
# image: gcc
# commands:
# - ./configure
# - make
# - make test
#