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

CGO_ENABLED=0 when build for packaging #800

Merged
merged 1 commit into from
Nov 14, 2023
Merged

CGO_ENABLED=0 when build for packaging #800

merged 1 commit into from
Nov 14, 2023

Conversation

Arthur1
Copy link
Member

@Arthur1 Arthur1 commented Nov 14, 2023

We build the binary for rpm/deb package on ubuntu-latest GitHub Actions runner image.

The generated binary may depend on a libc that is too new for the environment we support.

So, build with CGO_ENABLED=0 flag.

@Arthur1 Arthur1 self-assigned this Nov 14, 2023
Copy link
Contributor

@yseto yseto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good.

@Arthur1 Arthur1 merged commit 7a84d52 into master Nov 14, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants