Skip to content

Commit

Permalink
Fix GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Eitot committed Jun 23, 2024
1 parent 57dfe1d commit c9ea998
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/xcodebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
test:
strategy:
matrix:
os: [macos-13, macos-14]
include:
- os: macos-13
xcode: /Applications/Xcode_15.2.app/Contents/Developer
- os: macos-14
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer
DEVELOPER_DIR: ${{ matrix.xcode }}
timeout-minutes: 15

steps:
Expand All @@ -26,6 +29,10 @@ jobs:
with:
fetch-depth: 0
- name: Build Xcode project
run: xcodebuild build-for-testing -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]}
run: |
xcodebuild -version
xcodebuild build-for-testing -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]}
- name: Test Xcode project
run: xcodebuild test -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]}
run: |
xcodebuild -version
xcodebuild test -project Vienna.xcodeproj -scheme Vienna -configuration Development | xcpretty && exit ${PIPESTATUS[0]}

0 comments on commit c9ea998

Please sign in to comment.