forked from trustwallet/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from tangem/feature/IOS-6122_build_scripts
iOS-6122: Add iOS build scripts
- Loading branch information
Showing
15 changed files
with
275 additions
and
98 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
.github/actions/install_dependencies_composite_action/action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: 'Install dependencies' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install system dependencies | ||
shell: bash | ||
run: | | ||
tools/install-sys-dependencies-mac | ||
- name: Cache internal dependencies | ||
id: internal_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: build/local | ||
key: ${{ runner.os }}-${{ runner.arch }}-internal-${{ hashFiles('tools/install-dependencies') }} | ||
|
||
- name: Install internal dependencies | ||
shell: bash | ||
run: | | ||
tools/install-dependencies | ||
- name: Cache Rust dependencies | ||
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 | ||
with: | ||
workspaces: | | ||
rust | ||
- name: Install Rust dependencies | ||
shell: bash | ||
run: | | ||
tools/install-rust-dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Version tag from https://github.com/apple/swift-protobuf/releases | ||
# | ||
# 1. The SwiftProtobuf library version must match the version specified in the `swift/Podfile` file. | ||
# 2. Before upgrading, make sure that the new version of the SwiftProtobuf library is compatible with other consumers | ||
# of the binary artifact (`grpc-swift`, `hedera-sdk-swift`, `SwiftBinanceChain`, `blockchain-sdk-swift` and so on). | ||
version_tag=1.25.2 | ||
|
||
# Additional suffix for Tangem-specifc intermediate builds | ||
tangem_suffix=tangem1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
repo_url=$1 | ||
repo_tag=$2 | ||
|
||
if git ls-remote --tags $repo_url | grep -q "refs/tags/$repo_tag"; then | ||
echo "Should update SwiftProtobuf: false" | ||
echo "SHOULD_UPDATE_SWIFT_PROTOBUF=0" >> $GITHUB_ENV | ||
else | ||
echo "Should update SwiftProtobuf: true" | ||
echo "SHOULD_UPDATE_SWIFT_PROTOBUF=1" >> $GITHUB_ENV | ||
fi |
Oops, something went wrong.