Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jun 16, 2024
1 parent 25e639c commit f1c394e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ build:
chmod +x ./build/proxy-unit

build-ci:
go get unit.nginx.org/go@1.32.1
go get unit.nginx.org/go@latest
env GOOS=linux GOARCH=amd64 go build -o ./build/proxy-unit-linux-amd64 -ldflags="-w -s" ./...
env GOOS=linux GOARCH=arm64 go build -o ./build/proxy-unit-linux-arm64 -ldflags="-w -s" ./...
cd ./build && tar -zcvf ./proxy-unit-linux-amd64.tar.gz ./proxy-unit-linux-amd64
cd ./build && tar -zcvf ./proxy-unit-linux-arm64.tar.gz ./proxy-unit-linux-arm64

run:
env go run . bun ./test/app.ts
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
unit.nginx.org/go v0.0.0-20240321134741-48d79170596d h1:BTuWe0M3bnaCJTCRJhaAX4ouyLZrGeI4knaSZ22W88Q=
unit.nginx.org/go v0.0.0-20240321134741-48d79170596d/go.mod h1:rIOZelt2HNxH+Usc1WT2b5OlEDHQwc3IZRxYxiZiKvM=
unit.nginx.org/go v0.0.0-20240614141138-35a572c2813e h1:QWYIHrz+Pu+IWP3r7aueoLUxTOzoSJqPJwumac2udBQ=
unit.nginx.org/go v0.0.0-20240614141138-35a572c2813e/go.mod h1:rIOZelt2HNxH+Usc1WT2b5OlEDHQwc3IZRxYxiZiKvM=

0 comments on commit f1c394e

Please sign in to comment.