Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonLStarkWare committed Dec 2, 2024
1 parent 371699b commit 119d239
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/starknet_p2p_specs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,31 @@ jobs:
with:
version: ${{env.PROTOC_VERSION}}

- name: protoc version
run: protoc --version

- name: Validate .proto files for Rust compatibility
run: |
protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/*.proto
protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/**/*.proto
protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) *.proto
# protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/*.proto
# protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/**/*.proto

- name: Validate .proto files for Python compatibility
run: |
protoc --python_out=$(mktemp -d) ./p2p/proto/*.proto
protoc --python_out=$(mktemp -d) ./p2p/proto/**/*.proto
protoc --python_out=$(mktemp -d) *.proto
# protoc --python_out=$(mktemp -d) ./p2p/proto/*.proto
# protoc --python_out=$(mktemp -d) ./p2p/proto/**/*.proto

- name: Validate .proto files for C++ compatibility
run: |
protoc --cpp_out=$(mktemp -d) ./p2p/proto/*.proto
protoc --cpp_out=$(mktemp -d) ./p2p/proto/**/*.proto
protoc --cpp_out=$(mktemp -d) *.proto
# protoc --cpp_out=$(mktemp -d) ./p2p/proto/*.proto
# protoc --cpp_out=$(mktemp -d) ./p2p/proto/**/*.proto

- name: Install protoc-gen-go
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
export PATH=$PATH:$(go env GOPATH)/bin
protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/*.proto
protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/**/*.proto
protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative *.proto
# protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/*.proto
# protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/**/*.proto

# - name: go env GOPATH
# run: go env GOPATH
Expand Down

0 comments on commit 119d239

Please sign in to comment.