mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 06:23:08 +00:00
Fix build for Mac
This commit is contained in:
4
.github/workflows/build_orca.yml
vendored
4
.github/workflows/build_orca.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user