Skip to content

ci: install protoc in publish workflow#15

Open
tarekziade wants to merge 1 commit into
mainfrom
tarek-protoc
Open

ci: install protoc in publish workflow#15
tarekziade wants to merge 1 commit into
mainfrom
tarek-protoc

Conversation

@tarekziade
Copy link
Copy Markdown
Contributor

webnn-onnx-utils 0.1.1's build script invokes prost-build to compile ONNX protos, which requires the protoc compiler. The macOS runner does not ship with protoc, so the wheel build failed with:

failed to compile ONNX protos with prost-build:
Could not find protoc.

Add the arduino/setup-protoc action before maturin runs so all three runners (ubuntu, macos, windows) have protoc on PATH.

webnn-onnx-utils 0.1.1's build script invokes prost-build to compile
ONNX protos, which requires the protoc compiler. The macOS runner does
not ship with protoc, so the wheel build failed with:

  failed to compile ONNX protos with prost-build:
  Could not find `protoc`.

Add the arduino/setup-protoc action before maturin runs so all three
runners (ubuntu, macos, windows) have protoc on PATH.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants