forked from bleenco/abstruse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
image: mrcyjanek/goprod:nodejs-linux | ||
|
||
script: | ||
- make install_dependencies | ||
- make build_ui | ||
- make statik | ||
- apt install -y protobuf-compiler | ||
- PATH="$PATH:$GOPATH/bin" make protoc | ||
- make wire | ||
- mkdir -p build/{bin,deb} | ||
- GOOS=linux GOARCH=arm64 go build -o "build/bin/abstruse-worker_linux_arm64" ./cmd/abstruse-worker | ||
- GOOS=linux GOARCH=386 go build -o "build/bin/abstruse-worker_linux_386" ./cmd/abstruse-worker | ||
- GOOS=linux GOARCH=arm go build -o "build/bin/abstruse-worker_linux_arm" ./cmd/abstruse-worker | ||
- GOOS=linux GOARCH=amd64 go build -o "build/bin/abstruse-worker_linux_amd64" ./cmd/abstruse-worker | ||
- GOOS=linux GOARCH=arm64 go build -o "build/bin/abstruse-server_linux_arm64" ./cmd/abstruse-server | ||
- GOOS=linux GOARCH=386 go build -o "build/bin/abstruse-server_linux_386" ./cmd/abstruse-server | ||
- GOOS=linux GOARCH=arm go build -o "build/bin/abstruse-server_linux_arm" ./cmd/abstruse-server | ||
- GOOS=linux GOARCH=amd64 go build -o "build/bin/abstruse-server_linux_amd64" ./cmd/abstruse-server | ||
- GOOS=linux GOARCH=arm64 checkinstall --type=debian --install=no --default --pkgname=abstruse-ci --pkgversion=0.0.0+git$(git show -s --date=format:%Y%m%d%H%M --format=%cd) --arch=arm64 --pakdir=build/deb [email protected] --strip=no --stripso=no | ||
- GOOS=linux GOARCH=386 checkinstall --type=debian --install=no --default --pkgname=abstruse-ci --pkgversion=0.0.0+git$(git show -s --date=format:%Y%m%d%H%M --format=%cd) --arch=i386 --pakdir=build/deb [email protected] --strip=no --stripso=no | ||
- GOOS=linux GOARCH=arm checkinstall --type=debian --install=no --default --pkgname=abstruse-ci --pkgversion=0.0.0+git$(git show -s --date=format:%Y%m%d%H%M --format=%cd) --arch=armhf --pakdir=build/deb [email protected] --strip=no --stripso=no | ||
- GOOS=linux GOARCH=amd64 checkinstall --type=debian --install=no --default --pkgname=abstruse-ci --pkgversion=0.0.0+git$(git show -s --date=format:%Y%m%d%H%M --format=%cd) --arch=amd64 --pakdir=build/deb [email protected] --strip=no --stripso=no | ||
- mv build/deb/* /apt | ||
- mv build/bin/* /archive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters