diff --git a/.drone.yml b/.drone.yml index 2a822cf..032733d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,21 +9,13 @@ platform: arch: arm steps: -- name: download-wiringpi - image: plugins/download - settings: - source: https://github.com/WiringPi/WiringPi/archive/final_official_2.50.tar.gz - destination: wiringPi.tar.gz - name: makepkg image: agners/archlinuxarm commands: - - pacman -Syu --noconfirm base-devel awk tar + - 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" - - tar xzf wiringPi.tar.gz - - cd WiringPi-final_official_2.50/ - - ./build - - cd ../core/ + - cd core/ - makepkg -s -f --cleanbuild --noconfirm - cd ../core-testing - makepkg -s -f --cleanbuild --noconfirm