Add logic create/restore wallet + add coredata #88
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
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: SwiftyLab/setup-swift@latest | |
with: | |
swift-version: "6.0.2" | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_16.1.app | |
- name: Lint | |
run: swift format lint --strict -r -p MinWallet | |
build-and-test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: SwiftyLab/setup-swift@latest | |
with: | |
swift-version: "6.0.2" | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
cache-workspaces: rust | |
target: aarch64-apple-ios-sim,aarch64-apple-ios | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_16.1.app | |
- name: Build rust | |
run: cd rust && ./build.sh | |
- name: Build and test | |
run: xcodebuild -scheme MinWallet CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" -disable-concurrent-destination-testing test -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.1" |