File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 65
65
pushd "${WORKSPACE}/pytorch/executorch"
66
66
BUILD_TOOL=cmake
67
67
VERSION="0.1.0"
68
- OUTPUT="executorch-${VERSION}"
68
+ FRAMEWORKS=(
69
+ "executorch"
70
+ "coreml_backend"
71
+ "mps_backend"
72
+ "portable_backend"
73
+ "xnnpack_backend"
74
+ )
69
75
70
76
.ci/scripts/setup-conda.sh
71
77
@@ -83,11 +89,12 @@ jobs:
83
89
84
90
# Build iOS Frameworks
85
91
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
86
- build/build_apple_frameworks.sh --output="${OUTPUT}" -- coreml --mps --portable --xnnpack
92
+ build/build_apple_frameworks.sh --coreml --mps --portable --xnnpack
87
93
88
94
# Bundle iOS Frameworks
89
- cp LICENSE "${OUTPUT}"
90
- zip -r "${RUNNER_TEMP}/artifacts/${OUTPUT}.zip" "${OUTPUT}"
95
+ for FRAMEWORK in "${FRAMEWORKS[@]}"; do
96
+ zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}-${VERSION}.zip" "cmake-out/${FRAMEWORK}.xcframework" LICENSE
97
+ done
91
98
92
99
popd
93
100
You can’t perform that action at this time.
0 commit comments