Configure CI/CD build to properly build OrcaSlicer with Protobuf and codegen

This commit is contained in:
ExPikaPaka
2026-06-04 08:37:32 +02:00
parent a78ef9ce1c
commit 6e84139d60
8 changed files with 62 additions and 1 deletions

View File

@@ -180,6 +180,10 @@ function pack_deps() {
}
function build_slicer() {
echo "Generating config sources from proto..."
pip3 install grpcio-tools -q
python3 tools/run_codegen.py || { echo "ERROR: config codegen failed"; exit 1; }
# iterate over two architectures: x86_64 and arm64
for _ARCH in x86_64 arm64; do
# if ARCH is universal or equal to _ARCH