Test uploading/packaging
the build failed
Details
the build failed
Details
This commit is contained in:
parent
8dd9a3d693
commit
695874b43f
16
.drone.yml
16
.drone.yml
|
@ -27,3 +27,19 @@ pipeline:
|
|||
commands:
|
||||
- mkdir -p build/armv7
|
||||
- GOOS=linux GOARCH=arm GOARM=7 go build -o build/armv7/deb-simple
|
||||
build-arm64:
|
||||
image: golang:latest
|
||||
group: build
|
||||
commands:
|
||||
- mkdir -p build/arm64
|
||||
- GOOS=linux GOARCH=arm64 go build -o build/arm64/deb-simple
|
||||
package:
|
||||
image: tystuyfzand/fpm
|
||||
commands:
|
||||
- export VERSION=`grep "VERSION" server.go | head -n 1 | awk '{print $5}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'`
|
||||
- chmod +x packaging/build-package.sh packaging/package-upload.sh
|
||||
- ARCH=i386 packaging/build-package.sh
|
||||
- ARCH=amd64 packaging/build-package.sh
|
||||
- ARCH=armv7 packaging/build-package.sh
|
||||
- ARCH=arm64 packaging/build-package.sh
|
||||
- packaging/package-upload.sh
|
Loading…
Reference in New Issue