From 5c8360a184802f5ffa3bcab4ea516c98bd273fe6 Mon Sep 17 00:00:00 2001 From: Artur Guseinov Date: Mon, 24 Oct 2022 22:04:17 +0600 Subject: [PATCH 1/3] Resolve latest packages versions --- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/ExampleApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Example/ExampleApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 01652b58f..0fbf7253f 100644 --- a/Example/ExampleApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Example/ExampleApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -33,8 +33,8 @@ "repositoryURL": "https://github.com/Boilertalk/secp256k1.swift.git", "state": { "branch": null, - "revision": "45e458ec3be46cf0a6eb68bc947f797852dc65d8", - "version": "0.1.6" + "revision": "cd187c632fb812fd93711a9f7e644adb7e5f97f0", + "version": "0.1.7" } }, { From 034266221e9fa7d8aec8ec3e1ff413a485ded984 Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Tue, 25 Oct 2022 08:38:13 +0200 Subject: [PATCH 2/3] add derive data path --- .github/actions/ci/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index 44f9f0988..874175591 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -24,6 +24,7 @@ runs: -scheme WalletConnect \ -clonedSourcePackagesDirPath SourcePackagesCache \ -destination 'platform=iOS Simulator,name=iPhone 13' \ + -derivedDataPath ~/tmp/ddata \ test" # Integration tests @@ -37,7 +38,8 @@ runs: -project Example/ExampleApp.xcodeproj \ -scheme IntegrationTests \ -clonedSourcePackagesDirPath SourcePackagesCache \ - -destination 'platform=iOS Simulator,name=iPhone 13' \ + -destination 'platform=iOS Simulator,name=iPhone 13' \ + -derivedDataPath ~/tmp/ddata \ RELAY_HOST='$RELAY_ENDPOINT' \ PROJECT_ID='$PROJECT_ID' \ test" @@ -50,6 +52,7 @@ runs: -project Example/ExampleApp.xcodeproj \ -scheme Wallet \ -clonedSourcePackagesDirPath SourcePackagesCache \ + -derivedDataPath ~/tmp/ddata \ -sdk iphonesimulator" # DApp build @@ -60,6 +63,7 @@ runs: -project Example/ExampleApp.xcodeproj \ -scheme DApp \ -clonedSourcePackagesDirPath SourcePackagesCache \ + -derivedDataPath ~/tmp/ddata \ -sdk iphonesimulator" # UI tests @@ -69,6 +73,7 @@ runs: run: "xcodebuild \ -project Example/ExampleApp.xcodeproj \ -scheme UITests \ + -derivedDataPath ~/tmp/ddata \ -clonedSourcePackagesDirPath SourcePackagesCache \ -destination 'platform=iOS Simulator,name=iPhone 13' test" continue-on-error: true From 53f10b5c675a3e8dcc3c1b61d42f3bbf9df40139 Mon Sep 17 00:00:00 2001 From: Artur Guseinov Date: Tue, 25 Oct 2022 12:54:34 +0600 Subject: [PATCH 3/3] Derived data cache --- .github/actions/ci/action.yml | 10 +++++----- .github/workflows/ci.yml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index 874175591..0e21edcae 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -24,7 +24,7 @@ runs: -scheme WalletConnect \ -clonedSourcePackagesDirPath SourcePackagesCache \ -destination 'platform=iOS Simulator,name=iPhone 13' \ - -derivedDataPath ~/tmp/ddata \ + -derivedDataPath DerivedDataCache \ test" # Integration tests @@ -39,7 +39,7 @@ runs: -scheme IntegrationTests \ -clonedSourcePackagesDirPath SourcePackagesCache \ -destination 'platform=iOS Simulator,name=iPhone 13' \ - -derivedDataPath ~/tmp/ddata \ + -derivedDataPath DerivedDataCache \ RELAY_HOST='$RELAY_ENDPOINT' \ PROJECT_ID='$PROJECT_ID' \ test" @@ -52,7 +52,7 @@ runs: -project Example/ExampleApp.xcodeproj \ -scheme Wallet \ -clonedSourcePackagesDirPath SourcePackagesCache \ - -derivedDataPath ~/tmp/ddata \ + -derivedDataPath DerivedDataCache \ -sdk iphonesimulator" # DApp build @@ -63,7 +63,7 @@ runs: -project Example/ExampleApp.xcodeproj \ -scheme DApp \ -clonedSourcePackagesDirPath SourcePackagesCache \ - -derivedDataPath ~/tmp/ddata \ + -derivedDataPath DerivedDataCache \ -sdk iphonesimulator" # UI tests @@ -73,7 +73,7 @@ runs: run: "xcodebuild \ -project Example/ExampleApp.xcodeproj \ -scheme UITests \ - -derivedDataPath ~/tmp/ddata \ + -derivedDataPath DerivedDataCache \ -clonedSourcePackagesDirPath SourcePackagesCache \ -destination 'platform=iOS Simulator,name=iPhone 13' test" continue-on-error: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b697507a..bf2b26eae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,7 @@ jobs: path: | .build SourcePackagesCache + DerivedDataCache key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} restore-keys: | ${{ runner.os }}-spm-