File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,16 +89,29 @@ jobs:
8989 - name : Prepare Worker
9090 uses : ./.github/actions/prepare-nix
9191
92- - name : Run Bazel tests
92+ - name : Start local NativeLink with grace period config
9393 run : >
9494 nix develop --impure --command
95- bash -c "bazel test \
96- --remote_header=x-nativelink-api-key=$NL_COM_API_KEY \
97- --bes_backend=grpcs://tm-ci-bep.build-faster.nativelink.net \
98- --bes_header=x-nativelink-api-key=$NL_COM_API_KEY \
99- --bes_results_url=https://tm-ci-web.build-faster.nativelink.net/ \
100- ${{ github.ref == 'refs/heads/main' && '--remote_upload_local_results=true' || '--nogenerate_json_trace_profile --remote_upload_local_results=false' }} \
101- //..."
95+ bash -c "bazel run //:nativelink -- \
96+ deployment-examples/docker-compose/multi-worker-with-grace-period.json5 &
97+ sleep 10"
98+
99+ - name : Build NativeLink with cold cache
100+ run : >
101+ nix develop --impure --command
102+ bash -c "bazel build \
103+ --remote_cache=grpc://localhost:50051 \
104+ --remote_instance_name=main \
105+ //:nativelink"
106+
107+ - name : Build NativeLink with warm cache
108+ run : >
109+ nix develop --impure --command
110+ bash -c "bazel clean &&
111+ bazel build \
112+ --remote_cache=grpc://localhost:50051 \
113+ --remote_instance_name=main \
114+ //:nativelink"
102115
103116 # TODO(palfrey): Flaky. Fix.
104117 # docker-compose-compiles-nativelink:
You can’t perform that action at this time.
0 commit comments