add: x86_64 arch
This commit is contained in:
parent
0a1a896cbf
commit
d9e866e509
1 changed files with 58 additions and 15 deletions
73
.drone.yml
73
.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
|
||||
|
|
Reference in a new issue