Commit dc89568e authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Fixed CI pipeline

parent dfc12280
Pipeline #22292 failed with stages
in 7 seconds
......@@ -2,19 +2,18 @@ server:
stage: build
image: golang:1.12
variables:
- BUILD_OPTIONS: -ldflags "-s -X code.fbi.h-da.de/simons-nzse-2/stream-tv/pkg/twitch.ClientID=$TWITCH_CLIENT_ID"
#
BUILD_OPTIONS: -ldflags "-s -X code.fbi.h-da.de/simons-nzse-2/stream-tv/pkg/twitch.ClientID=$TWITCH_CLIENT_ID"
script:
- env GOOS=darwin GOARCH=386 go build -o binaries/darwin-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=darwin GOARCH=amd64 go build -o binaries/darwin-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=darwin GOARCH=386 go build $BUILD_OPTIONS -o binaries/darwin-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=darwin GOARCH=amd64 go build $BUILD_OPTIONS -o binaries/darwin-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=386 go build -o binaries/linux-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=amd64 go build -o binaries/linux-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm go build -o binaries/linux-arm/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm64 go build -o binaries/linux-arm64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=386 go build $BUILD_OPTIONS -o binaries/linux-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=amd64 go build $BUILD_OPTIONS -o binaries/linux-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm go build $BUILD_OPTIONS -o binaries/linux-arm/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm64 go build $BUILD_OPTIONS -o binaries/linux-arm64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=windows GOARCH=386 go build -o binaries/windows-x86/stream-tv-server.exe ./cmd/stream-tv-server
- env GOOS=windows GOARCH=amd64 go build -o binaries/windows-x86_64/stream-tv-server.exe ./cmd/stream-tv-server
- env GOOS=windows GOARCH=386 go build $BUILD_OPTIONS -o binaries/windows-x86/stream-tv-server.exe ./cmd/stream-tv-server
- env GOOS=windows GOARCH=amd64 go build $BUILD_OPTIONS -o binaries/windows-x86_64/stream-tv-server.exe ./cmd/stream-tv-server
artifacts:
paths:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment