Skip to content

test buck2 query for much more of the repo #8660

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 9 commits into from
Feb 28, 2025
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
4 changes: 3 additions & 1 deletion .buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
shim_et = shim_et

[repository_aliases]
bazel_skylib = shim
config = prelude
ovr_config = prelude
toolchains = shim_et
fbcode = shim_et
fbcode_macros = shim_et
fbcode_macros = shim
fbsource = shim_et
buck = shim
gh_facebook_buck2_shims_meta = shim

[cxx]
cxxflags = -g -std=c++17
Expand Down
6 changes: 5 additions & 1 deletion .ci/scripts/unittest-buck2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
set -eux

# TODO: expand this to //...
buck2 query //runtime/...
# TODO: can't query cadence & vulkan backends
buck2 query "//backends/apple/... + //backends/example/... + \
//backends/mediatek/... + //backends/test/... + //backends/transforms/... + \
//backends/xnnpack/... + //configurations/... + //kernels/portable/cpu/... + \
//runtime/... + //schema/... + //test/... + //util/..."

# TODO: expand the covered scope of Buck targets.
buck2 build //runtime/core/portable_type/...
Expand Down
Loading