Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: adjust makefile #6

Merged
merged 2 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ help:
# - `BUILD_TAGS="jsoniter" make build` build with specified tags.
# - `BUILD_PLATFORMS="linux/amd64,linux/arm64" make build` do multiple platforms go build.
#
# * [dev] `make package`, embed running resources into a Docker image on one platform.
# - `REPO=xyz make package` package all targets named with xyz repository.
# - `VERSION=vX.y.z+l.m make package` package all targets named with vX.y.z-l.m tag.
# - `TAG=main make package` package all targets named with main tag.
# - `OS=linux ARCH=arm64 make package` package all targets run on linux/arm64 arch.
# - `PACKAGE_BUILD=false make package` prepare build resource but disable docker build.
# - `DOCKER_USERNAME=... DOCKER_PASSWORD=... PACKAGE_PUSH=true make package` execute docker push after build.
#
# * [ci] `make ci`, execute `make deps`, `make lint`, `make test`, `make build` and `make package`.
# - `CI_CHECK=false make ci` only execute `make build` and `make package`.
Expand Down
10 changes: 8 additions & 2 deletions hack/lib/target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ function seal::target::build_tags() {
}

readonly DEFAULT_BUILD_PLATFORMS=(
linux/amd64
linux/arm64
darwin/amd64
darwin/arm64
freebsd/386
freebsd/amd64
freebsd/arm
linux/386
linux/amd64
linux/arm64
linux/arm
windows/arm64
windows/amd64
)

Expand Down
Loading