Fix github actions build #1
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: Swift | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Xcode Setup | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.1' | |
- name: Build | |
run: | | |
cd TPU\ Mac | |
xcodebuild build -project TPU_Mac.xcodeproj clean build -sdk iphoneos CODE_SIGNING_ALLOWED=No | |
- name: Run tests | |
run: | | |
cd TPU\ Mac | |
xcodebuild test -project TPU_Mac.xcodeproj clean build -sdk iphoneos -destination "platform=iOS Simulator,OS=16.1,name=iPhone 14 Pro Max" CODE_SIGNING_ALLOWED=No |