mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
build: Attempt to enable windows compilation
This commit is contained in:
+3
-4
@@ -26,10 +26,9 @@ build_script:
|
||||
- go test -race .
|
||||
- go test github.com/minio/minio/pkg...
|
||||
- go test -race github.com/minio/minio/pkg...
|
||||
# FIXME: appveyor build has errors related to LDFLAGS
|
||||
# - go run buildscripts/gen-ldflags.go > temp.txt
|
||||
# - set /p LDFLAGS=<temp.txt
|
||||
# - go build --ldflags %LDFLAGS% -o %GOPATH%\bin\minio.exe
|
||||
- go run buildscripts/gen-ldflags.go > temp.txt
|
||||
- set /p BUILD_LDFLAGS=<temp.txt
|
||||
- go build -ldflags="%BUILD_LDFLAGS%" -o %GOPATH%\bin\minio.exe
|
||||
|
||||
# to disable automatic tests
|
||||
test: off
|
||||
|
||||
Reference in New Issue
Block a user