File tree 3 files changed +14
-3
lines changed
actions/build_example_nativelink
examples/remote_execution/nativelink/platforms
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 9
9
- name : Build examples/remote_execution/nativelink directory using remote execution
10
10
run : |-
11
11
{
12
- echo "[buck2_re_client]
12
+ echo "[buck2]
13
+ digest_algorithms = SHA256
14
+ execution_platforms = root//platforms:platforms
15
+
16
+ [buck2_re_client]
13
17
engine_address = grpc://scheduler-buck2.build-faster.nativelink.net:443
14
18
action_cache_address = grpc://cas-buck2.build-faster.nativelink.net:443
15
19
cas_address = grpc://cas-buck2.build-faster.nativelink.net:443
18
22
instance_name = main"
19
23
} > examples/remote_execution/nativelink/.buckconfig.local
20
24
cd examples/remote_execution/nativelink
21
- $RUNNER_TEMP/artifacts/buck2 build //...
25
+ if [[ -z ${NATIVELINK_HEADER_RW_KEY:+x} ]]; then
26
+ echo "Missing NativeLink Api key." >&2
27
+ else
28
+ $RUNNER_TEMP/artifacts/buck2 build //...
29
+ fi
22
30
env :
23
31
NATIVELINK_HEADER_RW_KEY : ${{ inputs.NATIVELINK_HEADER_RW_KEY_SECRET }}
24
32
shell : bash
Original file line number Diff line number Diff line change 73
73
- uses : ./.github/actions/build_example_persistent_worker
74
74
with :
75
75
buildbuddyApiKey : ${{ secrets.BUILDBUDDY_API_KEY }}
76
+ - uses : ./.github/actions/build_example_nativelink
77
+ with :
78
+ NATIVELINK_HEADER_RW_KEY_SECRET : ${{ secrets.NATIVELINK_HEADER_RW_KEY_SECRET }}
76
79
- uses : ./.github/actions/setup_reindeer
77
80
- uses : ./.github/actions/build_bootstrap
78
81
windows-build-examples :
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def _platforms(ctx):
21
21
# Set those up based on what workers you've registered with NativeLink.
22
22
remote_execution_properties = {
23
23
"OSFamily" : "linux" ,
24
- "container-image" : "docker://buck2-github :latest" ,
24
+ "container-image" : "docker://nativelink-toolchain-buck2 :latest" ,
25
25
},
26
26
remote_execution_use_case = "buck2-default" ,
27
27
remote_output_paths = "output_paths" ,
You can’t perform that action at this time.
0 commit comments