|
|
|
@ -50,8 +50,8 @@ jobs:
|
|
|
|
|
GOARCH: arm
|
|
|
|
|
run: |
|
|
|
|
|
cd $PROJECT_PATH
|
|
|
|
|
go build -ldflags "-X main.goos=linux -X main.goarch=arm" -o scrutiny-web-linux-arm -tags "static" webapp/backend/cmd/scrutiny/scrutiny.go
|
|
|
|
|
go build -ldflags "-X main.goos=linux -X main.goarch=arm" -o scrutiny-collector-metrics-linux-arm -tags "static" collector/cmd/collector-metrics/collector-metrics.go
|
|
|
|
|
go build -ldflags "-extldflags=-static -X main.goos=linux -X main.goarch=arm" -o scrutiny-web-linux-arm -tags "static netgo sqlite_omit_load_extension" webapp/backend/cmd/scrutiny/scrutiny.go
|
|
|
|
|
go build -ldflags "-extldflags=-static -X main.goos=linux -X main.goarch=arm" -o scrutiny-collector-metrics-linux-arm -tags "static netgo" collector/cmd/collector-metrics/collector-metrics.go
|
|
|
|
|
|
|
|
|
|
chmod +x scrutiny-web-linux-arm
|
|
|
|
|
chmod +x scrutiny-collector-metrics-linux-arm
|
|
|
|
@ -62,8 +62,8 @@ jobs:
|
|
|
|
|
GOARCH: arm64
|
|
|
|
|
run: |
|
|
|
|
|
cd $PROJECT_PATH
|
|
|
|
|
go build -ldflags "-X main.goos=linux -X main.goarch=arm64" -o scrutiny-web-linux-arm64 -tags "static" webapp/backend/cmd/scrutiny/scrutiny.go
|
|
|
|
|
go build -ldflags "-X main.goos=linux -X main.goarch=arm64" -o scrutiny-collector-metrics-linux-arm64 -tags "static" collector/cmd/collector-metrics/collector-metrics.go
|
|
|
|
|
go build -ldflags "-extldflags=-static -X main.goos=linux -X main.goarch=arm64" -o scrutiny-web-linux-arm64 -tags "static netgo sqlite_omit_load_extension" webapp/backend/cmd/scrutiny/scrutiny.go
|
|
|
|
|
go build -ldflags "-extldflags=-static -X main.goos=linux -X main.goarch=arm64" -o scrutiny-collector-metrics-linux-arm64 -tags "static netgo" collector/cmd/collector-metrics/collector-metrics.go
|
|
|
|
|
|
|
|
|
|
chmod +x scrutiny-web-linux-arm64
|
|
|
|
|
chmod +x scrutiny-collector-metrics-linux-arm64
|
|
|
|
@ -83,8 +83,8 @@ jobs:
|
|
|
|
|
GOARCH: amd64
|
|
|
|
|
run: |
|
|
|
|
|
cd $PROJECT_PATH
|
|
|
|
|
go build -ldflags "-X main.goos=freebsd -X main.goarch=amd64" -o scrutiny-web-freebsd-amd64 -tags "static" webapp/backend/cmd/scrutiny/scrutiny.go
|
|
|
|
|
go build -ldflags "-X main.goos=freebsd -X main.goarch=amd64" -o scrutiny-collector-metrics-freebsd-amd64 -tags "static" collector/cmd/collector-metrics/collector-metrics.go
|
|
|
|
|
go build -ldflags "-extldflags=-static -X main.goos=freebsd -X main.goarch=amd64" -o scrutiny-web-freebsd-amd64 -tags "static netgo sqlite_omit_load_extension" webapp/backend/cmd/scrutiny/scrutiny.go
|
|
|
|
|
go build -ldflags "-extldflags=-static -X main.goos=freebsd -X main.goarch=amd64" -o scrutiny-collector-metrics-freebsd-amd64 -tags "static netgo" collector/cmd/collector-metrics/collector-metrics.go
|
|
|
|
|
|
|
|
|
|
chmod +x scrutiny-web-freebsd-amd64
|
|
|
|
|
chmod +x scrutiny-collector-metrics-freebsd-amd64
|
|
|
|
|