2020-12-03 00:42:36 +08:00
|
|
|
osx_image: xcode12.2
|
2017-05-26 19:41:02 +08:00
|
|
|
xcode_project: MacPass.xcodeproj
|
|
|
|
xcode_scheme: MacPass
|
2015-12-23 20:37:49 +08:00
|
|
|
language: objective-c
|
2017-05-26 19:41:02 +08:00
|
|
|
|
2015-12-23 20:37:49 +08:00
|
|
|
before_install:
|
2017-09-26 15:12:02 +08:00
|
|
|
- carthage bootstrap --platform macOS
|
2019-03-02 05:45:37 +08:00
|
|
|
- gem install xcpretty --no-document --quiet
|
2017-05-26 19:41:02 +08:00
|
|
|
|
2017-05-30 05:23:11 +08:00
|
|
|
after_success:
|
2019-08-30 17:04:20 +08:00
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage de
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage en
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage es
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage fr
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage it
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage nl
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage ru
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage sv-SE
|
|
|
|
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage zh-Hans
|
2019-08-30 03:06:16 +08:00
|
|
|
- zip -9ry Localisations.zip Localisations
|
2017-05-30 05:41:58 +08:00
|
|
|
- cd ./build/Build/Products/Release
|
2017-09-26 15:12:02 +08:00
|
|
|
- zip -9ry MacPass-continuous.zip MacPass.app
|
2018-10-01 04:02:25 +08:00
|
|
|
- shasum -a 256 MacPass-continuous.zip > MacPass-continuous.zip.sha256
|
2017-05-30 05:41:58 +08:00
|
|
|
- cd -
|
|
|
|
- mv ./build/Build/Products/Release/MacPass-continuous.zip .
|
2018-10-01 04:02:25 +08:00
|
|
|
- mv ./build/Build/Products/Release/MacPass-continuous.zip.sha256 .
|
2017-05-29 22:49:06 +08:00
|
|
|
|
2017-11-28 21:00:51 +08:00
|
|
|
script: |
|
|
|
|
set -o pipefail
|
|
|
|
xcodebuild clean
|
|
|
|
xcodebuild build -configuration release -project MacPass.xcodeproj -scheme MacPass CODE_SIGNING_REQUIRED=NO -derivedDataPath ./build | xcpretty -c
|
2017-06-01 15:53:03 +08:00
|
|
|
|
2017-05-29 23:10:29 +08:00
|
|
|
branches:
|
2017-05-30 05:04:57 +08:00
|
|
|
only:
|
2017-05-29 23:10:29 +08:00
|
|
|
- /^(?i:continuous)$/
|
|
|
|
|
2017-05-30 05:01:28 +08:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: AEb7fgi29S3aXFt5bXz+lq1KHISumny6bf4j06JBC5gUrSs+dW0/tmVFq68XRAqigeOQU31wwv20f7OHiy+GRYDXM2xBsX9ZBQ2IilnaXlDy/mPsNcJJJsZ2gyodi3KnU0rZtTb93me2YyU86H4Na/gtaZZUKjLwCFtGGziExD8=
|
2018-07-11 16:11:17 +08:00
|
|
|
file:
|
2019-08-29 23:17:03 +08:00
|
|
|
- Localisations.zip
|
2018-07-11 16:11:17 +08:00
|
|
|
- MacPass-continuous.zip
|
2018-10-01 04:02:25 +08:00
|
|
|
- MacPass-continuous.zip.sha256
|
2017-05-30 05:41:58 +08:00
|
|
|
overwrite: true
|
2017-05-30 05:01:28 +08:00
|
|
|
on:
|
|
|
|
tags: true
|
2018-03-03 05:41:17 +08:00
|
|
|
repo: MacPass/MacPass
|
|
|
|
branch: continuous
|