mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
fix windows7 build
This commit is contained in:
parent
70dea6b596
commit
6b5c3bfc0c
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -51,9 +51,9 @@ jobs:
|
|||
- name: Build Windows 7 version
|
||||
run: |
|
||||
go version
|
||||
rm go.mod go.sum
|
||||
go mod init github.com/schollz/croc/v10
|
||||
go mod tidy
|
||||
# rm go.mod go.sum
|
||||
# go mod init github.com/schollz/croc/v10
|
||||
# go mod tidy
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc-windows7-amd64.exe
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc-windows7-386.exe
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue