add: drone yml
fix: rename client to webapp BUMP VERSION
This commit is contained in:
parent
8a51bdbbec
commit
4c3c99ba5a
4 changed files with 63 additions and 4 deletions
59
.drone.yml
Normal file
59
.drone.yml
Normal file
|
@ -0,0 +1,59 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: makepkg-on-arm
|
||||
|
||||
workspace:
|
||||
path: /drone/src
|
||||
|
||||
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
|
||||
- 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/
|
||||
- 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
|
||||
#
|
|
@ -9,7 +9,7 @@ url="https://git.serguzim.me/emgauwa/core"
|
|||
license=('unknown')
|
||||
groups=()
|
||||
depends=('glibc' 'sqlite')
|
||||
makedepends=('make' 'cmake' 'gcc')
|
||||
makedepends=('make' 'cmake' 'gcc' 'vim')
|
||||
conflicts=('emgauwa-core')
|
||||
backup=('etc/emgauwa/core.ini')
|
||||
source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz"
|
||||
|
@ -17,7 +17,7 @@ source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz"
|
|||
"emgauwa-core-testing.service"
|
||||
"emgauwa-core-testing.sysusers"
|
||||
"emgauwa-core-testing.tmpfiles")
|
||||
sha256sums=('f1869e952835308ca921b96c9d2160c74ed511fcd3da6c5bd47a4e87302da67a'
|
||||
sha256sums=('6e983e765f1f4bd5388f77fa0cbc9a1e8f92f9834a4c63ea0c0bab4c96be4e2f'
|
||||
'b6747ceee2099f6ee321af4c69e10cb9e73d444e769fc33efd257e59d55b40be'
|
||||
'c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec'
|
||||
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
||||
|
|
|
@ -9,7 +9,7 @@ url="https://git.serguzim.me/emgauwa/core"
|
|||
license=('unknown')
|
||||
groups=()
|
||||
depends=('glibc' 'sqlite')
|
||||
makedepends=('make' 'cmake' 'gcc')
|
||||
makedepends=('make' 'cmake' 'gcc' 'vim')
|
||||
conflicts=('emgauwa-core-testing')
|
||||
backup=('etc/emgauwa/core.ini')
|
||||
source=("https://git.serguzim.me/emgauwa/core/archive/v$pkgver.tar.gz"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
|
||||
pkgname=emgauwa-frontend
|
||||
pkgname=emgauwa-webapp
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
epoch=
|
Reference in a new issue