Skip to content

Commit 9a069c8

Browse files
authored
Update Apple workflow to leverage combined release/debug build for fr… (#8801)
* Update Apple workflow to leverage combined release/debug build for frameworks * Update apple.yml
1 parent a7570a7 commit 9a069c8

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/apple.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -170,24 +170,14 @@ jobs:
170170
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
171171
backends/apple/mps/install_requirements.sh
172172
173-
# Build Release iOS Frameworks
173+
# Build iOS Frameworks
174174
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
175-
build/build_apple_frameworks.sh --coreml --custom --mps --optimized --portable --quantized --xnnpack
175+
build/build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
176176
177-
# Bundle Release iOS Frameworks
177+
# Bundle iOS Frameworks
178178
for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
179179
cd cmake-out && \
180180
zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}-${VERSION}.zip" "${FRAMEWORK}.xcframework"
181-
) done
182-
183-
# Build Debug iOS Frameworks
184-
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
185-
build/build_apple_frameworks.sh --coreml --custom --mps --optimized --portable --quantized --xnnpack --Debug
186-
187-
# Bundle Debug iOS Frameworks
188-
for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
189-
cd cmake-out && \
190-
mv "${FRAMEWORK}.xcframework" "${FRAMEWORK}_debug.xcframework" && \
191181
zip -r "${RUNNER_TEMP}/artifacts/${FRAMEWORK}_debug-${VERSION}.zip" "${FRAMEWORK}_debug.xcframework"
192182
) done
193183

0 commit comments

Comments
 (0)