-
Notifications
You must be signed in to change notification settings - Fork 143
60 lines (57 loc) · 2.34 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: MacOS application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app
jobs:
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'