mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
42 lines
No EOL
1.6 KiB
YAML
42 lines
No EOL
1.6 KiB
YAML
variables:
|
|
archive_scheme: Linphone
|
|
archive_path: Linphone.xcarchive
|
|
export_path: Linphone
|
|
|
|
stages:
|
|
- build
|
|
- export
|
|
|
|
build-ios:
|
|
stage: build
|
|
tags: [ "macmini-m1-3-xcode16" ]
|
|
script:
|
|
# We assume here that all distribution/development certificates, privates keys, and provisioning profiles are set up on the build machine
|
|
- xcodebuild archive -scheme $archive_scheme -archivePath ./$archive_path -configuration Release -workspace ./LinphoneApp.xcodeproj/project.xcworkspace -UseModernBuildSystem=YES -destination 'generic/platform=iOS' -allowProvisioningUpdates -authenticationKeyPath $AUTHENTICATION_KEY_PATH -authenticationKeyID $AUTHENTICATION_KEY_ID -authenticationKeyIssuerID $AUTHENTICATION_KEY_ISSUER_ID DEVELOPEMENT_TEAM=$DEVELOPEMENT_TEAM PROVISIONING_PROFILE="Automatic"
|
|
- ls -lah
|
|
artifacts:
|
|
paths:
|
|
- $archive_path
|
|
when: always
|
|
expire_in: 1 week
|
|
|
|
.export-ios:
|
|
stage: export
|
|
tags: [ "macmini-m1-3-xcode16" ]
|
|
script:
|
|
- xcodebuild -exportArchive -archivePath ./$archive_path -exportPath ./$export_path -exportOptionsPlist $export_options_plist -allowProvisioningUpdates -UseModernBuildSystem=YES -destination 'generic/platform=iOS' -authenticationKeyPath $AUTHENTICATION_KEY_PATH -authenticationKeyID $AUTHENTICATION_KEY_ID -authenticationKeyIssuerID $AUTHENTICATION_KEY_ISSUER_ID
|
|
artifacts:
|
|
paths:
|
|
- $export_path
|
|
when: always
|
|
expire_in: 1 week
|
|
|
|
export-ios-adhoc:
|
|
extends: .export-ios
|
|
variables:
|
|
export_options_plist: $EXPORT_ADHOC_PLIST_PATH
|
|
|
|
export-ios-appstore-artifact:
|
|
extends: .export-ios
|
|
variables:
|
|
export_options_plist: $EXPORT_STORE_PLIST_PATH |