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

Event stream POC testing with EngFlow UI #1

Closed
wants to merge 7,688 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7688 commits
Select commit Hold shift + click to select a range
5849405
provide/demand
stepancheg Oct 20, 2024
e3f23eb
Use Dice provider in buck2_build_signals
stepancheg Oct 20, 2024
7464c2d
tests: Ban `PRELUDE` and `OVR_CONFIG` in core tests
JakobDegen Oct 20, 2024
84c49cf
check: Add and use structured output option
JakobDegen Oct 20, 2024
55f501a
Remove dependency on buck2_configured for buck2_build_signals
stepancheg Oct 20, 2024
6a6590f
Do not derive(From) in buck2_build_signals_impl
stepancheg Oct 20, 2024
c916604
digests: Rename `DigestAlgorithmKind` to `DigestAlgorithmFamily`
JakobDegen Oct 20, 2024
60eed8d
digests: Fix tests
JakobDegen Oct 20, 2024
063f795
check: Make structured output the default
JakobDegen Oct 20, 2024
173628e
check: Stop accepting `structured-output` flag
JakobDegen Oct 21, 2024
9220d6f
check: Compute `project_root` in `bxl`
JakobDegen Oct 21, 2024
de71284
Add cache warning completion threshold config
Oct 21, 2024
e715ee8
Move dice state from DebugEventObserverExtra to EventObserver
Oct 21, 2024
f5d77b5
Refactor timed_list test
Oct 21, 2024
8cb8e6c
Add API to compute percentage completion
Oct 21, 2024
a67bb96
Enable cache warning after progress threshold
Oct 21, 2024
84e5083
Add cache warning actions threshold config
Oct 21, 2024
4152914
Add warning if the action count has crossed a threshold
Oct 21, 2024
7bdd023
Fix nested validation of expressions
ndmitchell Oct 21, 2024
f68a1d2
prelude: Re-implement `asserts.bzl`
JakobDegen Oct 21, 2024
44b0026
buck2/re: log RE use case in event log
KapJI Oct 21, 2024
149082b
Allow local cache uploads for miniperf
ezgicicek Oct 21, 2024
aa1e3df
Refactor: Make completion_percent optional in check_cache_misses
Oct 21, 2024
ac51957
Tag build with cache miss warning
Oct 21, 2024
08d811c
Add go_bootstrap toolchain target
ckwalsh Oct 21, 2024
9c049f5
buck2/re: add e2e test for RE use case override
KapJI Oct 21, 2024
b5d3714
Support test_deps that aren't foo-unittest
Wilfred Oct 21, 2024
93eaca3
make sidecar a layer for __unstamped jars
Oct 21, 2024
d1a155d
Report DICE cancellation reason
christolliday Oct 22, 2024
685c4d3
Move bxl dynamic to the context::dynamic module
Nero5023 Oct 22, 2024
ca7eab6
Move bxl context methods to the context::methods modole
Nero5023 Oct 22, 2024
2528be3
combine impl BxlContextCoreData
Nero5023 Oct 22, 2024
8399d04
Don't use Default::default() for constructing Crate values
Wilfred Oct 22, 2024
26ad0a5
Add .h files to `go tool asm` searchpath
podtserkovskiy Oct 22, 2024
64d855b
Replace tuple return type from finalize_errors
christolliday Oct 22, 2024
b4370e8
Write error_category to invocation record
christolliday Oct 22, 2024
e88bec9
Use error tier for CommandExecutionError
christolliday Oct 22, 2024
cdfe3aa
tests: Add `.buckroot` files in `tests/core`
JakobDegen Oct 22, 2024
c6faf3a
Unbreak cargo CI
Oct 22, 2024
2ac879e
Fix aarch64 build
Oct 22, 2024
7d72f06
tests: Remove `executable_type`
JakobDegen Oct 22, 2024
1599db7
tests: Add `asserts` to nano prelude
JakobDegen Oct 22, 2024
e84d059
tests: Data dir for `test_bxl_cli`
JakobDegen Oct 22, 2024
e99fa46
tests: Split `bxl_actions`
JakobDegen Oct 22, 2024
83ca3da
tests: Data dir for `test_execution_platforms`
JakobDegen Oct 22, 2024
231bd1b
tests: Data dir for `test_bxl_actions`
JakobDegen Oct 22, 2024
81a3ea5
tests: Data dir for `test_bxl_analysis`
JakobDegen Oct 22, 2024
e43e524
tests: Isolate `test_bxl_audit`
JakobDegen Oct 22, 2024
c8b0b68
tests: Move a `bxl_build` test where it belongs
JakobDegen Oct 22, 2024
7e03029
tests: Data dir for `test_bxl_build`
JakobDegen Oct 22, 2024
8ac8fd7
add resolve_test_discover
perehonchuk Oct 22, 2024
57364ac
resolve output root based on TestExecutionPrefix
perehonchuk Oct 22, 2024
0352dc4
Allow local cache uploads for buck2-bin
ezgicicek Oct 22, 2024
514ccad
Selective Debugging: add metadata type stubs
milend Oct 22, 2024
298881f
Selective Debugging: make `get_apple_dsym_info_json()` return structu…
milend Oct 22, 2024
117abf7
Selective Debugging: return outputs in structured record
milend Oct 22, 2024
941a473
Selective Debugging: add `[extended-dsym-info]` subtarget stub
milend Oct 22, 2024
021f124
Selective Debugging: wire up metadata creation
milend Oct 22, 2024
6811c8c
Make postprocessed jars deterministic
Oct 22, 2024
078f5af
Change starlark_syntax visibility
Will-MingLun-Li Oct 22, 2024
b16969a
Add buck2_error Context for Starlark Backtraces
Will-MingLun-Li Oct 22, 2024
2447ab5
starlark::Error <-> buck2_error conversion
Will-MingLun-Li Oct 22, 2024
a5766c5
Add starlark->buck2_error callstack test
Will-MingLun-Li Oct 22, 2024
8de9ca4
Use from_starlark
Will-MingLun-Li Oct 22, 2024
d92b21e
Delete BuckStarlarkError
Will-MingLun-Li Oct 22, 2024
131e56a
Buck2_error_tests refactor/cleanup
Will-MingLun-Li Oct 22, 2024
08589b5
Update sysroot for LLVM 17
Wilfred Oct 22, 2024
f18f243
Selective Debugging: implement metadata computation
milend Oct 22, 2024
5f06a1b
Remove custom sets implementation
bigfootjon Oct 22, 2024
9539f1a
add dice key and compute
perehonchuk Oct 22, 2024
6cd2d39
add check_cache_listings_experiment experiment
perehonchuk Oct 22, 2024
12c8fc0
nit: fix comment formatting
blackm00n Oct 22, 2024
1cb3c47
fix doc format
yhcharles Oct 22, 2024
4e9907d
Add constraint to disable targets known to be broken in oss
ckwalsh Oct 23, 2024
37c0657
Add `namespace` type and global
JakobDegen Oct 23, 2024
edb1a4c
Use `namespace` in `GlobalsBuilder`
JakobDegen Oct 23, 2024
e4e307b
docs: Move tests
JakobDegen Oct 23, 2024
81509fe
docs: Move markdown tests
JakobDegen Oct 23, 2024
e2a7de9
tests: Correctly mark more rustdoc tests
JakobDegen Oct 23, 2024
4ee7878
docs: Fix default impl of `StarlarkValue::documentation`
JakobDegen Oct 23, 2024
4eb64f7
docs: Make `StarlarkValue::documentation` non-optional
JakobDegen Oct 23, 2024
f0d1a8b
docs: Don't collapse docs for global items
JakobDegen Oct 23, 2024
7e7457e
docs: Add multipage rendering
JakobDegen Oct 23, 2024
a2e595c
docs: Use multipage rendering for `starlark-builtins`
JakobDegen Oct 23, 2024
7b31fc8
docs: Move `docs.py` into `website/`
JakobDegen Oct 23, 2024
92c4424
docs: Split API doc generation
JakobDegen Oct 23, 2024
ab97c60
docs: Move `starlark/spec` to starlark docs
JakobDegen Oct 23, 2024
c19f0b8
docs: Better handling of generated docs
JakobDegen Oct 23, 2024
ed36763
docs: Remove `itemFilter`
JakobDegen Oct 23, 2024
cec09f2
docs: Rename `itemSort` -> `postProcessItems`
JakobDegen Oct 23, 2024
73b2d6e
docs: Use `starlark-builtins` for doc generation
JakobDegen Oct 23, 2024
ca33c8c
docs: Types in `gen_docs`
JakobDegen Oct 23, 2024
4a2f837
docs: Upgrade dependencies
JakobDegen Oct 23, 2024
8b2b80a
docs: Typescript
JakobDegen Oct 23, 2024
27403c7
docs: Small fixes
JakobDegen Oct 23, 2024
24e06fa
docs: Remove `--builtins` from `docs starlark`
JakobDegen Oct 23, 2024
87379d7
docs: Extract a function
JakobDegen Oct 23, 2024
47f4b66
docs: No registered docs in `starlark_bin`
JakobDegen Oct 23, 2024
e3314ee
tests: No registered docs
JakobDegen Oct 23, 2024
ed1552a
docs: Remove registered docs
JakobDegen Oct 23, 2024
72e0ee3
docs: Remove dead functions
JakobDegen Oct 23, 2024
eb350b4
docs: Unshare `Doc` type
JakobDegen Oct 23, 2024
ab462a3
docs: Remove `custom_attrs`
JakobDegen Oct 23, 2024
cf754f6
Allow setting prebuilt_cxx_library supports_lto via attributes
Oct 23, 2024
38d50c0
Refactor .buckconfig common elements into .buckconfig.d
ckwalsh Oct 23, 2024
fcb42fe
Replace UserDeadlineExpired ErrorType with tag
christolliday Oct 23, 2024
c83888e
Remove ErrorType
christolliday Oct 23, 2024
b1f0dfd
add test_discovery_cached_on_re test
perehonchuk Oct 23, 2024
8db105e
Fix typos
Oct 23, 2024
6970739
Sanitizers: check sanitizer modes
milend Oct 23, 2024
38db6e4
Fix golden file
Will-MingLun-Li Oct 23, 2024
bc74e41
Fix failing test
Will-MingLun-Li Oct 23, 2024
293aebb
Better error message for somerge cycles
Oct 23, 2024
464c700
add test_local_discovery_uploaded_to_cache test
perehonchuk Oct 23, 2024
3d600f7
get & upload test listings cache from CAS
perehonchuk Oct 23, 2024
3763ee6
override remote cache upload only for test execution
perehonchuk Oct 23, 2024
e6acaf8
add code comment
perehonchuk Oct 23, 2024
6754463
Avoid reaching into root crate for ocaml rust flags
ckwalsh Oct 23, 2024
1dff619
upgrade pyre version in `fbcode/buck2` - batch 1
Oct 23, 2024
032abf4
Don't show daemon stderr/stack trace on daemon SIGTERM
christolliday Oct 23, 2024
d4c4f54
docs: Put back `docusaurus.config.js`
JakobDegen Oct 24, 2024
3c34d63
docs: Fix base path
JakobDegen Oct 24, 2024
d31a12d
add support for ios 18.2 mapped to macos 15.2
johnhaitas Oct 24, 2024
817e86f
Tag WatchmanRootNotConnected errors
christolliday Oct 24, 2024
a668869
Make ServerStderrEmpty errors environment errors
christolliday Oct 24, 2024
6c75d4b
Updating the force_tests_on_mac_re mode file to only contain the RE u…
Oct 24, 2024
282228e
docs: Split a function
JakobDegen Oct 24, 2024
44fe402
docs: Inline some fields
JakobDegen Oct 24, 2024
1112cca
docs: Unshare `Doc` type again
JakobDegen Oct 24, 2024
996f8ba
docs: Simplify markdown doc generation
JakobDegen Oct 24, 2024
010f5ae
docs: Move output dir computation to client
JakobDegen Oct 24, 2024
a7e5624
docs: Inline a type
JakobDegen Oct 24, 2024
f8b14d6
docs: Add `--output-dir`
JakobDegen Oct 24, 2024
3e568dc
docs: Extract a function
JakobDegen Oct 24, 2024
6f14e64
Back out "docs: Small fixes"
blackm00n Oct 24, 2024
6a36716
Back out "docs: Put back `docusaurus.config.js`"
blackm00n Oct 24, 2024
f3ebea3
Back out "docs: Typescript"
blackm00n Oct 24, 2024
59050cd
rename StarlarkSelectorGen enum variants
blackm00n Oct 24, 2024
467ca31
Move batched type check rule
connernilsen Oct 24, 2024
b0ab4c2
Add flag to disable sharding
connernilsen Oct 24, 2024
e382122
Fix bad if condition for sharding
connernilsen Oct 25, 2024
1a4e24a
Add tests for wrong starlark error tier
Will-MingLun-Li Oct 25, 2024
a9239af
Fix starlark error categories
Will-MingLun-Li Oct 25, 2024
845e299
Use sets for de-duplication
michalmuskala Oct 25, 2024
1603ad4
buck2/re: fix test for RE use case override
KapJI Oct 25, 2024
9236696
Move lazy_operation.rs to lazy_ctx::operation module
Nero5023 Oct 25, 2024
642f1de
Use heap as argument for `parse_query_evaluation_result`
Nero5023 Oct 25, 2024
afbdb31
Revert D64796922: Updating the force_tests_on_mac_re mode file to onl…
Oct 25, 2024
11584da
only display network warnings if there is no concurrent command
Oct 25, 2024
64159f9
Add argument to disable sharding in Python libraries across buck rules
connernilsen Oct 25, 2024
5612985
external cells: Repro a potential bug
JakobDegen Oct 25, 2024
a19192f
Fix typod packages for ubuntu
ckwalsh Oct 25, 2024
834cc4b
Refactor stderr stack trace parsing
christolliday Oct 25, 2024
801a224
Show signal line without stack trace on sigterm
christolliday Oct 25, 2024
6bb04f0
Removing platform information from the force_tests_on_mac_re modefile
Oct 28, 2024
6eff8cd
completions: zsh: Require fewer tabs
JakobDegen Oct 28, 2024
77098ec
completions: Repro bugs with trailing slashes
JakobDegen Oct 28, 2024
d0d5e2f
buck2/re: add more tests for RE use case override
KapJI Oct 28, 2024
07670c1
update cargo.toml
blackm00n Oct 28, 2024
964cb3e
fix whatran tests
blackm00n Oct 28, 2024
a400a00
Add manifest_entries to android_aar
helfper Oct 28, 2024
9e87c2a
Don't traverse cxx_python_extensions shared libraries for non-linux w…
Oct 28, 2024
49924c0
Make class tracking disable-able for Java code
Oct 28, 2024
7d00246
Fix ActionError tagging for ExecuteError::Error
christolliday Oct 28, 2024
79d711e
Use new visual studio path in prelude
8Keep Oct 28, 2024
7a5ac1f
derive: Explicit allow `non_camel_case_types`
JakobDegen Oct 28, 2024
f18a797
Remove filepath_length_limited attr on cxx_toolchain
8Keep Oct 28, 2024
2e85116
Avoid calling cfg constructor in nested cells
ckwalsh Oct 28, 2024
4926768
Remove use_arg_file attr on cxx_toolchain
8Keep Oct 28, 2024
8a4db4b
Remove pic_type_for_shared_linking attr on cxx_toolchain
8Keep Oct 28, 2024
ad3193b
docs: Fix `LocalResourceInfo` docs
JakobDegen Oct 28, 2024
6cdeed3
docs: Use more traditional markdown links in android rules
JakobDegen Oct 28, 2024
72cfc7b
docs: Switch to mdx everywhere
JakobDegen Oct 28, 2024
752d159
Reland [buck2] docs: Typescript
JakobDegen Oct 28, 2024
e87adeb
Reland [buck2] docs: Small fixes
JakobDegen Oct 28, 2024
105f8ca
docs: Flip constructor handling
JakobDegen Oct 28, 2024
f248a5c
docs: Remove `TypeRenderer`
JakobDegen Oct 28, 2024
ee3c9eb
docs: Fix `cmd_args` docs
JakobDegen Oct 28, 2024
9682096
docs: Ban H1 and H2
JakobDegen Oct 28, 2024
4805f63
bxl: Add `bxl.main`
JakobDegen Oct 28, 2024
524ec50
docs: Unnest bxl docs
JakobDegen Oct 28, 2024
323a37f
docs: Move redirect list to a separate file
JakobDegen Oct 28, 2024
9a79e91
docs: Add more debugging tips to README
JakobDegen Oct 28, 2024
b113df5
docs: Modern ts imports
JakobDegen Oct 28, 2024
fad5467
docs: Add remaining redirects
JakobDegen Oct 28, 2024
8ab49c4
add filter support to allpaths, somepath, rdeps
Oct 28, 2024
9214c6f
docs: Make plugins a namespace
JakobDegen Oct 29, 2024
21962bd
Temporary Commit at 10/28/2024, 12:18:48 PM
Oct 29, 2024
a7c2855
Add `executable_linker_flags` to C++ toolchain
andrewjcg Oct 29, 2024
aa3bd4a
Add `binary_linker_flags` to C++ toolchain
andrewjcg Oct 29, 2024
5e699e0
buck2_env macro fixup
Will-MingLun-Li Oct 29, 2024
cb49ab7
Add a test for panicking nested select
ezgicicek Oct 29, 2024
3c43c56
Return Err if cannot downcast the value to a dict in select construction
ezgicicek Oct 29, 2024
a97e3bd
Set correct package names for "main" packages
podtserkovskiy Oct 29, 2024
09fa365
Don't hardcode constraint_overrides.bzl transition attributes
Oct 29, 2024
88f7c86
Only full_library build can be incremental
navidqar Oct 29, 2024
3c415fb
refactor linker extra outputs to split artifact declaration from flag…
rmaz Oct 29, 2024
a59c985
support extra linker outputs with distributed thin LTO
rmaz Oct 29, 2024
488f54d
Fix HSR TS codelenses and setup testing pipeline
pavgra Oct 29, 2024
d68c82a
completions: Preload `--` handling in zsh
JakobDegen Oct 29, 2024
4d3514f
Support Panther and Seacliff
Oct 29, 2024
7fc543c
add binary version as label, so it can be filtered
Oct 29, 2024
2e73d21
Add option to write ExitResult errors into a file
Will-MingLun-Li Oct 29, 2024
83850bd
Test write ExitResult to file
Will-MingLun-Li Oct 29, 2024
4d38208
Revert D65074404: Only full_library build can be incremental
jiawei-lyu Oct 29, 2024
fda1763
Split stusbgen and source modifier plugins
Oct 30, 2024
91f5f84
Fix Cold Build Detector soft errors
Oct 30, 2024
ed9d8aa
Expose RE Thrift mode control in Buck config as RolloutPercentage
dougneal Oct 30, 2024
de523a4
Turn constraint_overrides into a struct
Oct 30, 2024
c6b2244
Add/Fix copyright headers
Oct 30, 2024
fd21a60
github: build `rust-project` binaries as well (#766)
thoughtpolice Oct 30, 2024
1b4f8de
Fix broken tests
Will-MingLun-Li Oct 30, 2024
360c23b
Make set_cfg_modifiers from buck2/cfg/experimental directly reuse the…
Oct 30, 2024
84ce610
Turn off tracking used_classes for targets with incremental compilation
navidqar Oct 30, 2024
6e7b289
Rework constraint_overrides.bzl
Oct 30, 2024
797c848
buck2: explain: split configured target label into parts
iguridi Oct 30, 2024
ca6d276
buck2: explain: make search bar not small
iguridi Oct 30, 2024
9c0c1cf
buck2: explain: better size
iguridi Oct 30, 2024
cf67212
buck2: explain: better label size
iguridi Oct 30, 2024
6bdfbc6
Fix link in bxl developers doc
Nero5023 Oct 30, 2024
97ada0a
Provide type to path map for the linkable type signature in doc
Nero5023 Oct 30, 2024
10936a0
Refactor display for all kinds of Ty
Nero5023 Oct 30, 2024
045e9b2
Add link for the types in the type signature in the doc
Nero5023 Oct 30, 2024
e65ec4c
Summary: Add a test for rendering the markdown with linked type in th…
Nero5023 Oct 30, 2024
a42ba51
Add ability to upload locally run 'archive' actions
Oct 30, 2024
36ebb2f
Preserve ArtifactInfo when using selective_debugging.
Oct 31, 2024
4b5abd7
Avoid resolving all cell configs in `buck2 audit config` unecessarily…
ckwalsh Oct 31, 2024
d853230
Add platform_overrides.bcfg
Oct 31, 2024
3446b86
Bundling: fix incremental bundling config
milend Oct 31, 2024
074c833
buck2/dice: ignore overrides for buck2_re_client.override_use_case
KapJI Oct 31, 2024
4dabc2d
Add ability to mark Java/Kotlin libraries as not being packageable
Oct 31, 2024
0ee0386
escript: drop support for the magic "erlang_test_runner" label
michalmuskala Oct 31, 2024
ea01b3b
Remove output_paths_to_hidden_cmd_args
Oct 31, 2024
df95ef0
Rank error tags by tier
christolliday Oct 31, 2024
0ccd057
Make vendored json into proper target
michalmuskala Oct 31, 2024
7a01900
Fix bug when using idb-targets for the first time
Oct 31, 2024
978cd22
Include error tier when ranking errors
christolliday Oct 31, 2024
75e19d1
Take category from best ranked error
christolliday Oct 31, 2024
7ea9f0b
Tag watchman checkout in progress errors
christolliday Oct 31, 2024
f97b151
Fix type link for internal static doc
Nero5023 Oct 31, 2024
552be02
Make the check for set_cfg_modifiers more repo friendly
chatura-atapattu Oct 31, 2024
ca3ccae
Only full_library build can be incremental -- attempt 2
navidqar Oct 31, 2024
78eafb4
Make invocation recorder not require a repo
ezgicicek Nov 1, 2024
e5bacef
Convert log commands to record InvocationRecord
ezgicicek Nov 1, 2024
8203a31
BuckEvent: provide a Buck Event Publisher proto
sluongng Jun 17, 2024
cee321f
Add buck2_event_publisher_proto to Cargo.toml
aherrmann Nov 15, 2024
12dc03d
Add Bazel Build Event Protocol/Stream protobuf
aherrmann Nov 15, 2024
81b1763
Implement RemoteEventSink to publish to Bazel BES
aherrmann Nov 15, 2024
5b8a6ef
Publish target, action, and failure information
aherrmann Nov 20, 2024
ed1d83b
Add lifecycle events, hack TLS, hack project ID, mangle target labels
nlopezgi Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 8 additions & 14 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
[repositories]
root = .
prelude = prelude
shim = shim
[cells]
gh_facebook_buck2 = .
gh_facebook_buck2_shims_meta = shim

[repository_aliases]
config = prelude
ovr_config = prelude
toolchains = shim
fbcode = shim
fbcode_macros = shim
fbsource = shim
buck = shim
[cell_aliases]
root = gh_facebook_buck2

[parser]
target_platform_detector_spec = target:root//...->prelude//platforms:default target:shim//...->prelude//platforms:default
[oss]
internal_cell = fbcode
stripped_root_dirs = buck2
20 changes: 20 additions & 0 deletions .buckconfig.d/common.buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[cells]
prelude = prelude
none = none

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

[external_cells]
prelude = bundled

[parser]
target_platform_detector_spec = target:root//...->prelude//platforms:default target:shim//...->prelude//platforms:default
6 changes: 1 addition & 5 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
[build]
# `cargo_internal_build` is set for cargo builds inside Meta.
# The flag enables features not available in opensource version,
# in particular, dependencies on libraries not available in open source.
rustflags = [
# @oss-disable: "--cfg", "cargo_internal_build",
"--cfg", "tokio_unstable",
"--cfg=tokio_unstable",
]

# @oss-disable: [source.crates-io]
Expand Down
267 changes: 0 additions & 267 deletions .circleci/config.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
fi
use flake
7 changes: 7 additions & 0 deletions .github/actions/build_bootstrap/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: build_bootstrap
runs:
using: composite
steps:
- name: Build `buck2` with `buck2`
run: "$RUNNER_TEMP/artifacts/buck2 build :buck2 -v 2"
shell: bash
10 changes: 10 additions & 0 deletions .github/actions/build_debug/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: build_debug
description: Build buck2 binary (debug)
runs:
using: composite
steps:
- name: Build buck2 binary (debug)
run: |-
mkdir $RUNNER_TEMP/artifacts
cargo build --bin=buck2 -Z unstable-options --out-dir=$RUNNER_TEMP/artifacts
shell: bash
14 changes: 14 additions & 0 deletions .github/actions/build_example_conan/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: build_example_conan
runs:
using: composite
steps:
- name: Build examples/toolchains/conan_toolchain
run: |-
cd examples/toolchains/conan_toolchain
$RUNNER_TEMP/artifacts/buck2 init
cp -r ../../../prelude prelude
# Generate Conan imports. TODO[AH] Make that unnecessary.
PATH="$RUNNER_TEMP/artifacts:$PATH" $RUNNER_TEMP/artifacts/buck2 run //cpp/conan:update -v 2
$RUNNER_TEMP/artifacts/buck2 build //... -v 2
$RUNNER_TEMP/artifacts/buck2 test //... -v 2
shell: bash
9 changes: 9 additions & 0 deletions .github/actions/build_example_no_prelude/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: build_example_no_prelude
runs:
using: composite
steps:
- name: Build example/no_prelude directory
run: |-
cd examples/no_prelude
$RUNNER_TEMP/artifacts/buck2 build //... -v 2
shell: bash
10 changes: 10 additions & 0 deletions .github/actions/build_release/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: build_release
description: Build buck2 binary (release)
runs:
using: composite
steps:
- name: Build buck2 binary (release)
run: |-
mkdir $RUNNER_TEMP/artifacts
cargo build --bin=buck2 --release -Z unstable-options --out-dir=$RUNNER_TEMP/artifacts
shell: bash
Loading