mirror of
https://github.com/typesense/typesense.git
synced 2025-05-18 20:52:50 +08:00
Build protobuf first before building Typesense.
This commit is contained in:
parent
406cafe4c7
commit
6c9a000bd8
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: tests
|
||||
|
||||
on: workflow_dispatch
|
||||
#on: [push, pull_request]
|
||||
#on: workflow_dispatch
|
||||
on: [push, pull_request]
|
||||
|
||||
# Cancel previous running if a new push is made
|
||||
# Source: https://stackoverflow.com/a/72408109/123545
|
||||
@ -54,6 +54,13 @@ jobs:
|
||||
rm bazel-cache.tar.gz
|
||||
exit 0
|
||||
|
||||
- name: Build protobuf deps
|
||||
run: |
|
||||
bazel build @com_google_protobuf//:protobuf_headers
|
||||
bazel build @com_google_protobuf//:protobuf_lite
|
||||
bazel build @com_google_protobuf//:protobuf
|
||||
bazel build @com_google_protobuf//:protoc
|
||||
|
||||
- name: Build Typesense
|
||||
run: bazel build //:typesense-server
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user