Skip to content

Commit c154327

Browse files
authored
ci: build the examples directory (zml#121)
Run `bazel build //llama` in CI to make sure we don't accidentally break it. I'm also building all the examples target. For reference it took 5 minutes to run this CI.
1 parent 88e0cc7 commit c154327

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/commit.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,12 @@ jobs:
4242
run: |
4343
export PATH=$PATH:~/bin
4444
bazel test --remote_cache=grpc://127.0.0.1:15501 //zml:test --test_output=streamed
45+
46+
- name: Build examples
47+
working-directory: examples/
48+
run: |
49+
export PATH=$PATH:~/bin
50+
bazel build --config=debug --remote_cache=grpc://127.0.0.1:15501 //llama
51+
bazel build --config=debug --remote_cache=grpc://127.0.0.1:15501 //mnist
52+
bazel build --config=debug --remote_cache=grpc://127.0.0.1:15501 //simple_layer
53+
bazel build --config=debug --remote_cache=grpc://127.0.0.1:15501 //loader:safetensors

0 commit comments

Comments
 (0)