|
|
@ -36,7 +36,7 @@ jobs: |
|
|
|
goos: ${{ matrix.goos }} |
|
|
|
goarch: ${{ matrix.goarch }} |
|
|
|
overwrite: true |
|
|
|
pre_command: export CGO_ENABLED=1 && export GODEBUG=http2client=0 |
|
|
|
pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0 |
|
|
|
# build_flags: -tags 5BytesOffset # optional, default is |
|
|
|
ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}} |
|
|
|
# Where to run `go build .` |
|
|
@ -50,7 +50,7 @@ jobs: |
|
|
|
goos: ${{ matrix.goos }} |
|
|
|
goarch: ${{ matrix.goarch }} |
|
|
|
overwrite: true |
|
|
|
pre_command: export CGO_ENABLED=1 && export GODEBUG=http2client=0 |
|
|
|
pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0 |
|
|
|
build_flags: -tags 5BytesOffset # optional, default is |
|
|
|
ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}} |
|
|
|
# Where to run `go build .` |
|
|
|