Skip to content

Commit

Permalink
Update swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricS01 authored Mar 3, 2024
1 parent 6051d20 commit 54536b2
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
Expand All @@ -16,7 +13,18 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Xcode Setup
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.1'

- name: Build
run: swift build -v
run: |
cd GitHubActions
xcodebuild build -project TPU_Mac.xcodeprojclean build -sdk iphoneos CODE_SIGNING_ALLOWED=No
- name: Run tests
run: swift test -v
run: |
cd GitHubActions
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

0 comments on commit 54536b2

Please sign in to comment.