11name : Build Xcode Project
2- on : [pull_request, push]
2+ on : push
33
44jobs :
5- build :
5+ ios :
6+ name : iOS
67 runs-on : macOS-latest
8+
79 steps :
810 - name : Checkout Code
911 uses : actions/checkout@v2
@@ -16,26 +18,50 @@ jobs:
1618 run : |
1719 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy" -sdk iphonesimulator -configuration Debug ONLY_ACTIVE_ARCH=YES
1820
19- - name : Test iOS Simulator
21+ - name : Test
2022 run : |
2123 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy" -destination "platform=iOS Simulator,name=iPhone 11 Pro Max" -configuration Debug ONLY_ACTIVE_ARCH=YES test
2224
23- - name : Build Mac Catalyst
25+ maccatalyst :
26+ name : Mac Catalyst
27+ runs-on : macOS-latest
28+
29+ steps :
30+ - name : Checkout Code
31+ uses : actions/checkout@v2
32+
33+ - name : Build
2434 run : |
2535 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy" -sdk macosx -configuration Debug ONLY_ACTIVE_ARCH=YES
2636
27- - name : Test Mac Catalyst
37+ - name : Test
2838 run : |
2939 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy" -destination "platform=macOS" -configuration Debug ONLY_ACTIVE_ARCH=YES test
3040
31- - name : Build macOS
41+ macos :
42+ name : macOS
43+ runs-on : macOS-latest
44+
45+ steps :
46+ - name : Checkout Code
47+ uses : actions/checkout@v2
48+
49+ - name : Build
3250 run : |
3351 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy macOS" -configuration Debug ONLY_ACTIVE_ARCH=YES
3452
35- - name : Test macOS
53+ - name : Test
3654 run : |
3755 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy macOS" -configuration Debug ONLY_ACTIVE_ARCH=YES test
3856
57+ tvos :
58+ name : tvOS
59+ runs-on : macOS-latest
60+
61+ steps :
62+ - name : Checkout Code
63+ uses : actions/checkout@v2
64+
3965 - name : Build tvOS
4066 run : |
4167 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy tvOS" -sdk appletvos -configuration Debug ONLY_ACTIVE_ARCH=YES
@@ -44,10 +70,18 @@ jobs:
4470 run : |
4571 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy tvOS" -sdk appletvsimulator -configuration Debug ONLY_ACTIVE_ARCH=YES
4672
47- - name : Test tvOS Simulator
73+ - name : Test
4874 run : |
4975 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy tvOS" -destination "platform=tvOS Simulator,name=Apple TV 4K" -configuration Debug ONLY_ACTIVE_ARCH=YES test
5076
77+ watchos :
78+ name : watchOS
79+ runs-on : macOS-latest
80+
81+ steps :
82+ - name : Checkout Code
83+ uses : actions/checkout@v2
84+
5185 - name : Build watchOS
5286 run : |
5387 xcodebuild -project ProtocolProxy.xcodeproj -scheme "ProtocolProxy watchOS" -sdk watchos -configuration Debug
0 commit comments