mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 20:32:06 +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: |
|
run: |
|
||||||
if [ "$(uname)" = "Linux" ]; then
|
if [ "$(uname)" = "Linux" ]; then
|
||||||
pip3 install grpcio-tools
|
pip3 install grpcio-tools
|
||||||
|
else
|
||||||
|
brew install protobuf
|
||||||
fi
|
fi
|
||||||
python3 tools/run_codegen.py
|
python3 tools/run_codegen.py
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
@@ -114,7 +116,7 @@ jobs:
|
|||||||
if: runner.os == 'macOS' && !inputs.macos-combine-only
|
if: runner.os == 'macOS' && !inputs.macos-combine-only
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ vars.SELF_HOSTED }}" ]; then
|
if [ -z "${{ vars.SELF_HOSTED }}" ]; then
|
||||||
brew install libtool protobuf
|
brew install libtool
|
||||||
brew list
|
brew list
|
||||||
fi
|
fi
|
||||||
mkdir -p ${{ github.workspace }}/deps/build/${{ inputs.arch }}
|
mkdir -p ${{ github.workspace }}/deps/build/${{ inputs.arch }}
|
||||||
|
|||||||
@@ -326,6 +326,8 @@ modules:
|
|||||||
- name: OrcaSlicer
|
- name: OrcaSlicer
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
|
- pip3 install grpcio-tools -q
|
||||||
|
- python3 tools/run_codegen.py
|
||||||
- |
|
- |
|
||||||
cmake . -B build_flatpak \
|
cmake . -B build_flatpak \
|
||||||
-DFLATPAK=ON \
|
-DFLATPAK=ON \
|
||||||
@@ -375,6 +377,9 @@ modules:
|
|||||||
- type: dir
|
- type: dir
|
||||||
path: ../../localization
|
path: ../../localization
|
||||||
dest: localization
|
dest: localization
|
||||||
|
- type: dir
|
||||||
|
path: ../../tools
|
||||||
|
dest: tools
|
||||||
|
|
||||||
- type: file
|
- type: file
|
||||||
path: ../../CMakeLists.txt
|
path: ../../CMakeLists.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user