Skip to content

Commit 3cf9f22

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Build debug frameworks. (#2732)
Summary: Pull Request resolved: #2732 . Reviewed By: cccclai Differential Revision: D55457129 fbshipit-source-id: 622498d804d2a748712a3225b385b718236c1546
1 parent 2449326 commit 3cf9f22

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/apple.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,24 @@ jobs:
8989
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
9090
backends/apple/mps/install_requirements.sh
9191
92-
# Build iOS Frameworks
92+
# Build Release iOS Frameworks
9393
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
94-
build/build_apple_frameworks.sh --coreml --mps --optimized --portable --quantized --xnnpack
94+
build/build_apple_frameworks.sh --Release --coreml --mps --optimized --portable --quantized --xnnpack
9595
96-
# Bundle iOS Frameworks
96+
# Bundle Release iOS Frameworks
9797
for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
9898
cd cmake-out && zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}-${VERSION}.zip" "${FRAMEWORK}.xcframework"
9999
) done
100100
101+
# Build Debug iOS Frameworks
102+
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
103+
build/build_apple_frameworks.sh --Debug --coreml --mps --optimized --portable --quantized --xnnpack
104+
105+
# Bundle Debug iOS Frameworks
106+
for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
107+
cd cmake-out && zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}_debug-${VERSION}.zip" "${FRAMEWORK}_debug.xcframework"
108+
) done
109+
101110
popd
102111
103112
upload-frameworks-ios:

0 commit comments

Comments
 (0)