Fix CI bulding issues
This commit is contained in:
parent
7ce146db6f
commit
914884660b
5 changed files with 74 additions and 36 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
language: objective-c
|
language: objective-c
|
||||||
osx_image: xcode11.4
|
osx_image: xcode11.6
|
||||||
addons:
|
addons:
|
||||||
homebrew:
|
homebrew:
|
||||||
packages:
|
packages:
|
||||||
|
|
|
||||||
20
Gemfile.lock
20
Gemfile.lock
|
|
@ -6,8 +6,8 @@ GEM
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
atomos (0.1.3)
|
atomos (0.1.3)
|
||||||
aws-eventstream (1.1.0)
|
aws-eventstream (1.1.0)
|
||||||
aws-partitions (1.343.0)
|
aws-partitions (1.345.0)
|
||||||
aws-sdk-core (3.104.0)
|
aws-sdk-core (3.104.3)
|
||||||
aws-eventstream (~> 1, >= 1.0.2)
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
aws-partitions (~> 1, >= 1.239.0)
|
aws-partitions (~> 1, >= 1.239.0)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.1)
|
||||||
|
|
@ -15,8 +15,8 @@ GEM
|
||||||
aws-sdk-kms (1.36.0)
|
aws-sdk-kms (1.36.0)
|
||||||
aws-sdk-core (~> 3, >= 3.99.0)
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.1)
|
||||||
aws-sdk-s3 (1.74.0)
|
aws-sdk-s3 (1.75.0)
|
||||||
aws-sdk-core (~> 3, >= 3.102.1)
|
aws-sdk-core (~> 3, >= 3.104.1)
|
||||||
aws-sdk-kms (~> 1)
|
aws-sdk-kms (~> 1)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.1)
|
||||||
aws-sigv4 (1.2.1)
|
aws-sigv4 (1.2.1)
|
||||||
|
|
@ -36,15 +36,15 @@ GEM
|
||||||
dotenv (2.7.6)
|
dotenv (2.7.6)
|
||||||
emoji_regex (3.0.0)
|
emoji_regex (3.0.0)
|
||||||
excon (0.75.0)
|
excon (0.75.0)
|
||||||
faraday (0.17.3)
|
faraday (1.0.1)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
faraday-cookie_jar (0.0.6)
|
faraday-cookie_jar (0.0.6)
|
||||||
faraday (>= 0.7.4)
|
faraday (>= 0.7.4)
|
||||||
http-cookie (~> 1.0.0)
|
http-cookie (~> 1.0.0)
|
||||||
faraday_middleware (0.14.0)
|
faraday_middleware (1.0.0)
|
||||||
faraday (>= 0.7.4, < 1.0)
|
faraday (~> 1.0)
|
||||||
fastimage (2.1.7)
|
fastimage (2.1.7)
|
||||||
fastlane (2.152.0)
|
fastlane (2.153.1)
|
||||||
CFPropertyList (>= 2.3, < 4.0.0)
|
CFPropertyList (>= 2.3, < 4.0.0)
|
||||||
addressable (>= 2.3, < 3.0.0)
|
addressable (>= 2.3, < 3.0.0)
|
||||||
aws-sdk-s3 (~> 1.0)
|
aws-sdk-s3 (~> 1.0)
|
||||||
|
|
@ -55,9 +55,9 @@ GEM
|
||||||
dotenv (>= 2.1.1, < 3.0.0)
|
dotenv (>= 2.1.1, < 3.0.0)
|
||||||
emoji_regex (>= 0.1, < 4.0)
|
emoji_regex (>= 0.1, < 4.0)
|
||||||
excon (>= 0.71.0, < 1.0.0)
|
excon (>= 0.71.0, < 1.0.0)
|
||||||
faraday (>= 0.17, < 1.0)
|
faraday (~> 1.0)
|
||||||
faraday-cookie_jar (~> 0.0.6)
|
faraday-cookie_jar (~> 0.0.6)
|
||||||
faraday_middleware (>= 0.13.1, < 2.0)
|
faraday_middleware (~> 1.0)
|
||||||
fastimage (>= 2.1.0, < 3.0.0)
|
fastimage (>= 2.1.0, < 3.0.0)
|
||||||
gh_inspector (>= 1.1.2, < 2.0.0)
|
gh_inspector (>= 1.1.2, < 2.0.0)
|
||||||
google-api-client (>= 0.37.0, < 0.39.0)
|
google-api-client (>= 0.37.0, < 0.39.0)
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,42 @@ lane :match_development do
|
||||||
app_identifier = "me.mssun.passforios"
|
app_identifier = "me.mssun.passforios"
|
||||||
match(
|
match(
|
||||||
type: "development",
|
type: "development",
|
||||||
|
git_url: "https://github.com/mssun/certificates-passforios",
|
||||||
|
git_basic_authorization: ENV['MATCH_GIT_BASIC_AUTHORIZATION'],
|
||||||
|
keychain_name: ENV["MATCH_KEYCHAIN_NAME"],
|
||||||
|
keychain_password: ENV["MATCH_KEYCHAIN_PASSWORD"],
|
||||||
|
app_identifier: [app_identifier,
|
||||||
|
"#{app_identifier}.find-login-action-extension",
|
||||||
|
"#{app_identifier}.auto-fill-credential-extension",
|
||||||
|
"#{app_identifier}.shortcuts"],
|
||||||
|
readonly: true
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
lane :match_appstore do
|
||||||
|
app_identifier = "me.mssun.passforios"
|
||||||
|
match(
|
||||||
|
type: "appstore",
|
||||||
|
git_url: "https://github.com/mssun/certificates-passforios",
|
||||||
|
git_basic_authorization: ENV['MATCH_GIT_BASIC_AUTHORIZATION'],
|
||||||
|
keychain_name: ENV["MATCH_KEYCHAIN_NAME"],
|
||||||
|
keychain_password: ENV["MATCH_KEYCHAIN_PASSWORD"],
|
||||||
|
app_identifier: [app_identifier,
|
||||||
|
"#{app_identifier}.find-login-action-extension",
|
||||||
|
"#{app_identifier}.auto-fill-credential-extension",
|
||||||
|
"#{app_identifier}.shortcuts"],
|
||||||
|
readonly: true
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
lane :match_appstore_beta do
|
||||||
|
app_identifier = "me.mssun.passforiosbeta"
|
||||||
|
match(
|
||||||
|
type: "appstore",
|
||||||
|
git_url: "https://github.com/mssun/certificates-passforios",
|
||||||
|
git_basic_authorization: ENV['MATCH_GIT_BASIC_AUTHORIZATION'],
|
||||||
|
keychain_name: ENV["MATCH_KEYCHAIN_NAME"],
|
||||||
|
keychain_password: ENV["MATCH_KEYCHAIN_PASSWORD"],
|
||||||
app_identifier: [app_identifier,
|
app_identifier: [app_identifier,
|
||||||
"#{app_identifier}.find-login-action-extension",
|
"#{app_identifier}.find-login-action-extension",
|
||||||
"#{app_identifier}.auto-fill-credential-extension",
|
"#{app_identifier}.auto-fill-credential-extension",
|
||||||
|
|
@ -44,16 +80,7 @@ platform :ios do
|
||||||
timeout: 3600,
|
timeout: 3600,
|
||||||
add_to_search_list: true
|
add_to_search_list: true
|
||||||
)
|
)
|
||||||
match(
|
match_appstore_beta
|
||||||
type: "appstore",
|
|
||||||
app_identifier: [app_identifier,
|
|
||||||
"#{app_identifier}.find-login-action-extension",
|
|
||||||
"#{app_identifier}.auto-fill-credential-extension",
|
|
||||||
"#{app_identifier}.shortcuts"],
|
|
||||||
keychain_name: ENV["MATCH_KEYCHAIN_NAME"],
|
|
||||||
keychain_password: ENV["MATCH_KEYCHAIN_PASSWORD"],
|
|
||||||
readonly: true
|
|
||||||
)
|
|
||||||
increment_build_number(
|
increment_build_number(
|
||||||
build_number: latest_testflight_build_number(
|
build_number: latest_testflight_build_number(
|
||||||
version: get_version_number(target: "pass"),
|
version: get_version_number(target: "pass"),
|
||||||
|
|
@ -65,6 +92,16 @@ platform :ios do
|
||||||
build_app(
|
build_app(
|
||||||
scheme: "pass",
|
scheme: "pass",
|
||||||
configuration: "Beta",
|
configuration: "Beta",
|
||||||
|
skip_profile_detection: true,
|
||||||
|
export_options: {
|
||||||
|
method: "app-store",
|
||||||
|
provisioningProfiles: {
|
||||||
|
app_identifier => "match AppStore #{app_identifier}",
|
||||||
|
"#{app_identifier}.find-login-action-extension" => "match AppStore #{app_identifier}.find-login-action-extension",
|
||||||
|
"#{app_identifier}.auto-fill-credential-extension" => "match AppStore #{app_identifier}.auto-fill-credential-extension",
|
||||||
|
"#{app_identifier}.shortcuts" => "match AppStore #{app_identifier}.shortcuts",
|
||||||
|
},
|
||||||
|
},
|
||||||
verbose: true
|
verbose: true
|
||||||
)
|
)
|
||||||
upload_to_testflight(
|
upload_to_testflight(
|
||||||
|
|
@ -88,16 +125,7 @@ platform :ios do
|
||||||
timeout: 3600,
|
timeout: 3600,
|
||||||
add_to_search_list: true
|
add_to_search_list: true
|
||||||
)
|
)
|
||||||
match(
|
match_appstore
|
||||||
type: "appstore",
|
|
||||||
app_identifier: [app_identifier,
|
|
||||||
"#{app_identifier}.find-login-action-extension",
|
|
||||||
"#{app_identifier}.auto-fill-credential-extension",
|
|
||||||
"#{app_identifier}.shortcuts"],
|
|
||||||
keychain_name: ENV["MATCH_KEYCHAIN_NAME"],
|
|
||||||
keychain_password: ENV["MATCH_KEYCHAIN_PASSWORD"],
|
|
||||||
readonly: true
|
|
||||||
)
|
|
||||||
increment_build_number(
|
increment_build_number(
|
||||||
build_number: latest_testflight_build_number(
|
build_number: latest_testflight_build_number(
|
||||||
version: get_version_number(target: "pass"),
|
version: get_version_number(target: "pass"),
|
||||||
|
|
@ -109,6 +137,16 @@ platform :ios do
|
||||||
build_app(
|
build_app(
|
||||||
scheme: "pass",
|
scheme: "pass",
|
||||||
configuration: "Release",
|
configuration: "Release",
|
||||||
|
skip_profile_detection: true,
|
||||||
|
export_options: {
|
||||||
|
method: "app-store",
|
||||||
|
provisioningProfiles: {
|
||||||
|
app_identifier => "match AppStore #{app_identifier}",
|
||||||
|
"#{app_identifier}.find-login-action-extension" => "match AppStore #{app_identifier}.find-login-action-extension",
|
||||||
|
"#{app_identifier}.auto-fill-credential-extension" => "match AppStore #{app_identifier}.auto-fill-credential-extension",
|
||||||
|
"#{app_identifier}.shortcuts" => "match AppStore #{app_identifier}.shortcuts",
|
||||||
|
},
|
||||||
|
},
|
||||||
verbose: true
|
verbose: true
|
||||||
)
|
)
|
||||||
upload_to_testflight(
|
upload_to_testflight(
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
git_url "https://github.com/mssun/certificates-passforios.git"
|
|
||||||
type "development"
|
|
||||||
|
|
@ -11,12 +11,14 @@ OUTPUT_PATH="$GOPATH/dist"
|
||||||
|
|
||||||
mkdir -p "$GOPATH"
|
mkdir -p "$GOPATH"
|
||||||
|
|
||||||
go get -u golang.org/x/mobile/cmd/gomobile || true
|
go get golang.org/x/mobile/cmd/gomobile || true
|
||||||
gomobile init
|
( cd "$GOPATH/src/golang.org/x/mobile/cmd/gomobile" && git checkout 0df4eb2385467a487d418c6358313e9e838256ae )
|
||||||
|
GO111MODULE=on go get golang.org/x/mobile/cmd/gomobile@0df4eb2385467a487d418c6358313e9e838256ae || true
|
||||||
|
GO111MODULE=on go get golang.org/x/mobile/cmd/gobind@0df4eb2385467a487d418c6358313e9e838256ae || true
|
||||||
go get -u "$PACKAGE_PATH" || true
|
go get -u "$PACKAGE_PATH" || true
|
||||||
|
|
||||||
mkdir -p "$GOPATH/src/github.com/ProtonMail"
|
mkdir -p "$GOPATH/src/github.com/ProtonMail"
|
||||||
ln -s "$GOPATH/src/$PACKAGE_PATH" "$GOPATH/src/github.com/ProtonMail/gopenpgp"
|
ln -f -s "$GOPATH/src/$PACKAGE_PATH" "$GOPATH/src/github.com/ProtonMail/gopenpgp"
|
||||||
|
|
||||||
( cd "$GOPATH/src/$PACKAGE_PATH" && git checkout "$GOPENPGP_REVISION" && GO111MODULE=on go mod vendor )
|
( cd "$GOPATH/src/$PACKAGE_PATH" && git checkout "$GOPENPGP_REVISION" && GO111MODULE=on go mod vendor )
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue