Skip to content

Update build.yml

Update build.yml #145

Workflow file for this run

name: iOS CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew install xcbeautify
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.3.1'
- name: Test Pod build
run: |
pod install
set -o pipefail && xcodebuild -workspace PodsTest.xcworkspace -scheme PodsTest -destination "platform=iOS Simulator,name=iPhone 14 Pro" 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 14 Pro" | xcbeautify
working-directory: ios