Try to fix mac build again

Ahh, I never compiled any program on Mac, i thought it will behave the same was as Linux,
but there are some diferences of course..
This commit is contained in:
ExPikaPaka
2026-06-04 14:37:03 +02:00
parent d314e9c09a
commit 7c34e089e4
2 changed files with 10 additions and 4 deletions

View File

@@ -60,11 +60,13 @@ jobs:
- name: Install codegen tools and generate config sources
run: |
if [ "$(uname)" = "Linux" ]; then
pip3 install grpcio-tools
pip3 install grpcio-tools pyyaml
python3 tools/run_codegen.py
else
brew install protobuf
python3 -m venv /tmp/codegen_venv
/tmp/codegen_venv/bin/pip install grpcio-tools pyyaml -q
/tmp/codegen_venv/bin/python tools/run_codegen.py
fi
python3 tools/run_codegen.py
if: runner.os != 'Windows'
shell: bash