akihikodaki / cld3-ruby

cld3-ruby is an interface of Compact Language Detector v3 (CLD3) for Ruby.
Apache License 2.0
77 stars 22 forks source link

ProtoBuf on GitHub CI #28

Closed Adeynack closed 3 years ago

Adeynack commented 3 years ago

Good day and let me first thank you for this GEM. It works perfectly for my needs!

I develop on macOS and there, using brew install protobuf, I was instantly able to work with the GEM.

However, I am using GitHub CI and there, protobuf is not installed by default. I tried a few ways of installing it on the CI, but nothing worked. It keeps failing to compile the native extensions of the GEM, stating that protobuf cannot be found.

It would help me to know which files and at which location it is expecting. Is it something that you could help me with?

Thanks in advance.

akihikodaki commented 3 years ago

See https://github.com/akihikodaki/cld3-ruby/blob/4dd40ead0d8d8b65f5379b4b739bf1b577d20228/.github/workflows/gempush.yml.