add: x86_64 arch

This commit is contained in:
Tobias Reisinger 2020-07-27 01:58:47 +02:00
parent 0a1a896cbf
commit d9e866e509

View file

@ -57,18 +57,61 @@ steps:
depends_on: depends_on:
- upload-packages - upload-packages
#--- ---
#kind: pipeline kind: pipeline
#name: makepkg-on-amd64 name: makepkg-on-x86_64
#
#platform: workspace:
# arch: amd64 path: /drone/src
#
#steps: platform:
#- name: test arch: amd64
# image: gcc
# commands: steps:
# - ./configure - name: makepkg-core
# - make image: serguzim/emgauwa-packager
# - make test 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