File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 46
46
go : ' 1.15.x'
47
47
gotags : cmount
48
48
build_flags : ' -include "^windows/amd64" -cgo'
49
+ build_args : ' -buildmode exe'
49
50
quicktest : true
50
51
racequicktest : true
51
52
deploy : true
57
58
goarch : ' 386'
58
59
cgo : ' 1'
59
60
build_flags : ' -include "^windows/386" -cgo'
61
+ build_args : ' -buildmode exe'
60
62
quicktest : true
61
63
deploy : true
62
64
@@ -109,6 +111,7 @@ jobs:
109
111
run : |
110
112
echo 'GOTAGS=${{ matrix.gotags }}' >> $GITHUB_ENV
111
113
echo 'BUILD_FLAGS=${{ matrix.build_flags }}' >> $GITHUB_ENV
114
+ echo 'BUILD_ARGS=${{ matrix.build_args }}' >> $GITHUB_ENV
112
115
if [[ "${{ matrix.goarch }}" != "" ]]; then echo 'GOARCH=${{ matrix.goarch }}' >> $GITHUB_ENV ; fi
113
116
if [[ "${{ matrix.cgo }}" != "" ]]; then echo 'CGO_ENABLED=${{ matrix.cgo }}' >> $GITHUB_ENV ; fi
114
117
Original file line number Diff line number Diff line change 46
46
.PHONY : rclone test_all vars version
47
47
48
48
rclone :
49
- go build -v --ldflags " -s -X github.com/rclone/rclone/fs.Version=$( TAG) " $(BUILDTAGS )
49
+ go build -v --ldflags " -s -X github.com/rclone/rclone/fs.Version=$( TAG) " $(BUILDTAGS ) $( BUILD_ARGS )
50
50
mkdir -p ` go env GOPATH` /bin/
51
51
cp -av rclone` go env GOEXE` ` go env GOPATH` /bin/rclone` go env GOEXE` .new
52
52
mv -v ` go env GOPATH` /bin/rclone` go env GOEXE` .new ` go env GOPATH` /bin/rclone` go env GOEXE`
You can’t perform that action at this time.
0 commit comments