Skip to content

Commit

Permalink
split all the ci steps into jobs so they can run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
alanzeino committed Aug 14, 2024
1 parent 9c4dd2d commit 96d6437
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,51 @@ env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app

jobs:
build:
NeedleFoundationTests:
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'
NeedleGeneratorTests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleGeneratorTests"
run: cd Generator && swift test -Xswiftc -DDEBUG
NeedleGeneratorBinary:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleGeneratorBinary"
run: cd Generator && swift build -c release
NeedleSampleMVCApp:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleSampleMVCApp"
run: xcodebuild build -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15'
NeedleSampleMVCTests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleSampleMVCTests"
run: xcodebuild test -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeTests -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15'
NeedleSamplePluginizedApp:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleSamplePluginizedApp"
run: xcodebuild build -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15'
NeedleSamplePluginizedScoreSheetTests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleSamplePluginizedScoreSheetTests"
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme ScoreSheetTests -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15'
NeedleSamplePluginizedTicTacToeCoreTests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: "NeedleSamplePluginizedTicTacToeCoreTests"
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeCoreTests -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 15'

0 comments on commit 96d6437

Please sign in to comment.