2020-07-16 22:45:35 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: makepkg-on-arm
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
path: /drone/src
|
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-core
|
|
|
|
image: serguzim/emgauwa-packager
|
2020-07-16 22:45:35 +00:00
|
|
|
commands:
|
|
|
|
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
|
2020-07-17 18:45:00 +00:00
|
|
|
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
2020-07-17 18:31:54 +00:00
|
|
|
- cd core/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 21:40:58 +00:00
|
|
|
- name: makepkg-core-testing
|
2020-07-17 19:33:53 +00:00
|
|
|
image: serguzim/emgauwa-packager
|
|
|
|
commands:
|
|
|
|
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
|
|
|
|
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
|
|
|
- cd core-testing/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-controller
|
|
|
|
image: serguzim/emgauwa-packager
|
|
|
|
commands:
|
|
|
|
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
|
|
|
|
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
|
|
|
- cd controller/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-controller-testing
|
|
|
|
image: serguzim/emgauwa-packager
|
|
|
|
commands:
|
|
|
|
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
|
|
|
|
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
|
|
|
- cd controller-testing/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-webapp
|
|
|
|
image: serguzim/emgauwa-packager
|
|
|
|
commands:
|
|
|
|
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
|
|
|
|
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
|
|
|
- cd webapp/
|
2020-07-16 22:45:35 +00:00
|
|
|
- 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
|
2020-07-17 19:59:29 +00:00
|
|
|
- name: send-webhook
|
|
|
|
image: plugins/webhook
|
|
|
|
settings:
|
|
|
|
urls:
|
|
|
|
from_secret: webhook_url
|
2020-07-16 22:45:35 +00:00
|
|
|
#---
|
|
|
|
#kind: pipeline
|
|
|
|
#name: makepkg-on-amd64
|
|
|
|
#
|
|
|
|
#platform:
|
|
|
|
# arch: amd64
|
|
|
|
#
|
|
|
|
#steps:
|
|
|
|
#- name: test
|
|
|
|
# image: gcc
|
|
|
|
# commands:
|
|
|
|
# - ./configure
|
|
|
|
# - make
|
|
|
|
# - make test
|
|
|
|
#
|