Skip to content

Commit 077e403

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Build debug frameworks. (#2828)
Summary: Pull Request resolved: #2828 Reviewed By: kirklandsign Differential Revision: D55692268 fbshipit-source-id: 61b383591c9c1aad70dfa6b442283146d6a82df0
1 parent 64a6757 commit 077e403

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/apple.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ jobs:
100100
zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}-${VERSION}.zip" "${FRAMEWORK}.xcframework"
101101
) done
102102
103+
# Build Debug iOS Frameworks
104+
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
105+
build/build_apple_frameworks.sh --coreml --custom --mps --optimized --portable --quantized --xnnpack --Debug
106+
107+
# Bundle Debug iOS Frameworks
108+
for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
109+
cd cmake-out && \
110+
mv "${FRAMEWORK}.xcframework" "${FRAMEWORK}_debug.xcframework" && \
111+
zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}_debug-${VERSION}.zip" "${FRAMEWORK}_debug.xcframework"
112+
) done
113+
103114
popd
104115
105116
upload-frameworks-ios:

0 commit comments

Comments
 (0)