forked from mirrors/linphone-iphone
26 lines
972 B
YAML
26 lines
972 B
YAML
variables:
|
|
archive_scheme: linphone
|
|
archive_path: linphone.xcarchive
|
|
export_path: linphone-adhoc-ipa
|
|
export_options_plist: linphone-adhoc.plist
|
|
|
|
job-ios:
|
|
|
|
stage: build
|
|
tags: [ "macos-xcode13" ]
|
|
|
|
script:
|
|
- pod install --repo-update
|
|
- pwd
|
|
- sed 's/fileprivate let tableView =/public let tableView =/g' ./Pods/DropDown/DropDown/src/DropDown.swift > tmp.swift && mv -f tmp.swift ./Pods/DropDown/DropDown/src/DropDown.swift
|
|
- xcodebuild archive -scheme $archive_scheme -archivePath ./$archive_path -configuration Release -workspace ./linphone.xcworkspace -UseModernBuildSystem=YES -destination 'generic/platform=iOS'
|
|
- xcodebuild -exportArchive -archivePath ./$archive_path -exportPath ./$export_path -exportOptionsPlist ./$export_options_plist -allowProvisioningUpdates -UseModernBuildSystem=YES -destination 'generic/platform=iOS'
|
|
|
|
|
|
artifacts:
|
|
paths:
|
|
- $archive_path
|
|
- $export_path
|
|
when: always
|
|
expire_in: 1 week
|
|
|