--- kind: pipeline name: makepkg-on-arm workspace: path: /drone/src platform: arch: arm steps: - name: makepkg image: agners/archlinuxarm 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" - cd core/ - makepkg -s -f --cleanbuild --noconfirm - cd ../core-testing - makepkg -s -f --cleanbuild --noconfirm - cd ../controller - makepkg -s -f --cleanbuild --noconfirm - cd ../controller-testing - makepkg -s -f --cleanbuild --noconfirm - 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 #--- #kind: pipeline #name: makepkg-on-amd64 # #platform: # arch: amd64 # #steps: #- name: test # image: gcc # commands: # - ./configure # - make # - make test #