Update for Xcode 15, fix broken tests, preliminary support for Swift 6 compiler #148
Workflow file for this run
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: MacOS application | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.4.app | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "NeedleFoundationTests" | |
run: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundation -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15' | |
- name: "NeedleGeneratorTests" | |
run: cd Generator && swift test -Xswiftc -DDEBUG | |
- name: "NeedleGeneratorBinary" | |
run: cd Generator && swift build -c release | |
- name: "NeedleSampleMVCApp" | |
run: xcodebuild build -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15' | |
- name: "NeedleSampleMVCTests" | |
run: xcodebuild test -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeTests -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15' | |
- name: "NeedleSamplePluginizedApp" | |
run: xcodebuild build -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15' | |
- name: "NeedleSamplePluginizedScoreSheetTests" | |
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme ScoreSheetTests -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15' | |
- name: "NeedleSamplePluginizedTicTacToeCoreTests" | |
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeCoreTests -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15' |