mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
fix: ci
This commit is contained in:
parent
f9aac6f91f
commit
2db95e4f79
1 changed files with 8 additions and 19 deletions
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
|
@ -13,16 +13,16 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Go
|
# - name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
# uses: actions/setup-go@v5
|
||||||
with:
|
# with:
|
||||||
go-version: '^1.24.0'
|
# go-version: '^1.24.0'
|
||||||
|
|
||||||
- name: Display Go version
|
# - name: Display Go version
|
||||||
run: go version
|
# run: go version
|
||||||
|
|
||||||
- name: Run unit tests
|
# - name: Run unit tests
|
||||||
run: go test -v ./...
|
# run: go test -v ./...
|
||||||
|
|
||||||
# - name: Build files
|
# - name: Build files
|
||||||
# run: |
|
# run: |
|
||||||
|
@ -58,14 +58,3 @@ jobs:
|
||||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc-windows7-amd64.exe
|
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
|
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc-windows7-386.exe
|
||||||
|
|
||||||
- name: Upload build artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: croc-build-artifacts
|
|
||||||
path: |
|
|
||||||
croc-windows-*.exe
|
|
||||||
croc-linux-*
|
|
||||||
croc-darwin-*
|
|
||||||
croc-freebsd-*
|
|
||||||
croc-openbsd-*
|
|
||||||
croc-windows7-*.exe
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue