forked from trustwallet/trust-web3-provider
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (24 loc) · 854 Bytes
/
ios-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: iOS CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew install xcbeautify
- name: Setup Xcode 14
run: sudo xcode-select -s /Applications/Xcode_14.0.1.app/Contents/Developer
- name: Test Pod build
run: |
pod install
set -o pipefail && xcodebuild -workspace PodsTest.xcworkspace -scheme PodsTest -destination "platform=iOS Simulator,name=iPhone 13" test | xcbeautify
working-directory: ios/PodsTest
- name: Test SPM build
run: |
set -o pipefail && xcodebuild -project TrustWeb3Provider.xcodeproj -scheme TrustWeb3Provider-Example -destination "platform=iOS Simulator,name=iPhone 13" | xcbeautify
working-directory: ios