Fix build for Mac

This commit is contained in:
ExPikaPaka
2026-06-04 14:22:04 +02:00
parent 7fa650e410
commit d314e9c09a
2 changed files with 8 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ jobs:
run: |
if [ "$(uname)" = "Linux" ]; then
pip3 install grpcio-tools
else
brew install protobuf
fi
python3 tools/run_codegen.py
if: runner.os != 'Windows'
@@ -114,7 +116,7 @@ jobs:
if: runner.os == 'macOS' && !inputs.macos-combine-only
run: |
if [ -z "${{ vars.SELF_HOSTED }}" ]; then
brew install libtool protobuf
brew install libtool
brew list
fi
mkdir -p ${{ github.workspace }}/deps/build/${{ inputs.arch }}

View File

@@ -326,6 +326,8 @@ modules:
- name: OrcaSlicer
buildsystem: simple
build-commands:
- pip3 install grpcio-tools -q
- python3 tools/run_codegen.py
- |
cmake . -B build_flatpak \
-DFLATPAK=ON \
@@ -375,6 +377,9 @@ modules:
- type: dir
path: ../../localization
dest: localization
- type: dir
path: ../../tools
dest: tools
- type: file
path: ../../CMakeLists.txt