Use cmake --build in macOS action

This commit is contained in:
Ilya Fedin 2025-05-08 06:50:55 +00:00 committed by John Preston
parent 8f7f8fc0b5
commit 60d821ae3e

View file

@ -123,10 +123,7 @@ jobs:
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \ -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE $DEFINE
cd ../out cmake --build ../out --config Debug --parallel
xcoderun='xcodebuild build -project Telegram.xcodeproj -scheme Telegram -destination "platform=macOS,arch=x86_64" -configuration Debug'
bash -c "$xcoderun" || bash -c "$xcoderun" || bash -c "$xcoderun"
- name: Move artifact. - name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'