add: use own container with preinstalled packages

This commit is contained in:
Tobias Reisinger 2020-07-17 21:33:53 +02:00
parent aee288f832
commit c9b21e33a4

View file

@ -9,22 +9,40 @@ platform:
arch: arm
steps:
- name: makepkg
image: agners/archlinuxarm
- name: makepkg-core
image: serguzim/emgauwa-packager
commands:
- pacman -Syu --noconfirm base-devel awk tar wiringpi
- sed -i 's/(( EUID == 0 ))/(( 1 == 0 ))/g' /usr/bin/makepkg
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
- cd core/
- makepkg -s -f --cleanbuild --noconfirm
- cd ../core-testing
- name: makepkg-core-testimg
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/
- makepkg -s -f --cleanbuild --noconfirm
- cd ../controller
- 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/
- makepkg -s -f --cleanbuild --noconfirm
- cd ../controller-testing
- 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/
- makepkg -s -f --cleanbuild --noconfirm
- cd ../webapp
- 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/
- makepkg -s -f --cleanbuild --noconfirm
- name: upload_package
image: serguzim/drone-webdav