-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Go: add bazel build #16317
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
Merged
Merged
Go: add bazel build #16317
Changes from 10 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
393f6b7
Go: add gazelle-generated `BUILD` files
redsun82 4ca8faa
Go: introduce universal binaries on macOS
redsun82 7d9a68b
Go: wrap gazelle to regenerate from scratch and add header
redsun82 3ad9c02
Go: remove `go_sdk.host`
redsun82 925a2cc
Go: create whole extractor pack with bazel
redsun82 19b2e56
Go: group BUILD and dbscheme generation target
redsun82 bfa189e
Go: use a dbscheme generated during the build in `extractor-pack`
redsun82 146d84b
Go: rework makefile
redsun82 c8b0224
Merge branch 'main' into redsun82/go
redsun82 d98ccdf
Go: update workflow
redsun82 0f387ee
Go: add vendor update to `//go:gen`
redsun82 86d6b8e
Go: put back go setup
redsun82 d66494d
Go: update `go-tests-other-os.yml`
redsun82 b0758fd
Go: workaround for gazelle on macOS
redsun82 0dfd336
Go: fix `//go:gen` on windows
redsun82 6ec223c
Go: small cleanup in `Makefile`
redsun82 2f6dd2a
Go: refactor workflows with shared action
redsun82 f0f6c22
Go: fix regex in action for macOS
redsun82 1f78882
Go: make windows checks happy
redsun82 15bb846
Go: add workaround for extractor pack windows installer
redsun82 e7886d0
Bazel: add empty registry override
redsun82 cb85a75
Bazel: patch `apple_support` to avoid registering its toolchain
redsun82 2590d8a
Merge branch 'main' into redsun82/go
redsun82 608791f
Bazel/Go: use native cross compilation for fat binaries
redsun82 94212d1
Bazel/Go: remove `apple_support`
redsun82 a8d3226
Merge branch 'main' into redsun82/go
redsun82 12b9b80
Go: revert changes to `make` and CI to postpone them in a separate PR
redsun82 520a2c9
Merge branch 'main' into redsun82/go
redsun82 9055d95
Go: remove unused action (will be re-added later)
redsun82 ca2d94b
Fix go pattern in `.pre-commit-config.yaml`
redsun82 318d954
Go: make `//go:gen` not clear by default, and clean on `--force`
redsun82 4ae82ac
Go: add explanatory comment to `extractor` `BUILD` file
redsun82 0bc6934
Go: rename `pkg_files` to something less confusing
redsun82 abcd916
Go: write test go runtime version in a specific file
redsun82 1aafc37
Revert "Go: write test go runtime version in a specific file"
redsun82 76067cb
Go: skip `X:nocoverageredesign` printing by autobuilder built with bazel
redsun82 81dea9f
Merge branch 'main' into redsun82/go
redsun82 00baccb
Go: autoformat
redsun82 31c427e
Bazel/Go: add more explanation in `gen.py`
redsun82 8f0b884
Bazel/Go: be more specific in `go/extractor/BUILD.bazel` comments
redsun82 2132c7b
Bazel/Go: make `@codeql//go:gen` runnable from internal repo
redsun82 471303b
Bazel/Go: remove unneeded comment
redsun82 17990da
Update go/extractor/BUILD.bazel
redsun82 77128de
Bazel/Go: make installer work from internal repo and on windows
redsun82 cba4ba0
Merge branch 'main' into redsun82/go
redsun82 5b184c1
Bazel/Go: add some comments
redsun82 73df4fa
Go: fix Windows installation
redsun82 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.