From d9e866e509af0ca1326feda42bb13869931e70bc Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 27 Jul 2020 01:58:47 +0200 Subject: [PATCH] add: x86_64 arch --- .drone.yml | 73 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 58 insertions(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7885d39..18bf576 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,18 +57,61 @@ steps: depends_on: - upload-packages -#--- -#kind: pipeline -#name: makepkg-on-amd64 -# -#platform: -# arch: amd64 -# -#steps: -#- name: test -# image: gcc -# commands: -# - ./configure -# - make -# - make test -# +--- +kind: pipeline +name: makepkg-on-x86_64 + +workspace: + path: /drone/src + +platform: + arch: amd64 + +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-packages + image: serguzim/drone-webdav + settings: + file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.* + destination: https://serguzim.me/repo/archlinux/x86_64/emgauwa/ + username: + from_secret: webdav_username + password: + from_secret: webdav_password + depends_on: + - makepkg-core + - makepkg-core-testing + - makepkg-controller + - makepkg-controller-testing + - makepkg-webapp +- name: send-webhook + image: plugins/webhook + settings: + urls: + from_secret: webhook_url + depends_on: + - upload-packages