54
54
with :
55
55
xcode-version : latest-stable
56
56
- uses : actions/checkout@v2
57
- - uses : actions/cache@v2
58
- with :
59
- path : /Users/runner/Library/Developer/Xcode/DerivedData/**/SourcePackages/checkouts
60
- key : ${{ runner.os }}-spm-ios-${{ hashFiles('**/Package.resolved') }}
61
- restore-keys : |
62
- ${{ runner.os }}-spm-ios
63
57
-
uses :
webfactory/[email protected]
64
58
with :
65
59
ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
74
68
with :
75
69
xcode-version : latest-stable
76
70
- uses : actions/checkout@v2
77
- - uses : actions/cache@v2
78
- with :
79
- path : /Users/runner/Library/Developer/Xcode/DerivedData/**/SourcePackages/checkouts
80
- key : ${{ runner.os }}-spm-tvos-${{ hashFiles('**/Package.resolved') }}
81
- restore-keys : |
82
- ${{ runner.os }}-spm-tvos
83
71
-
uses :
webfactory/[email protected]
84
72
with :
85
73
ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
93
81
with :
94
82
xcode-version : latest-stable
95
83
- uses : actions/checkout@v2
96
- - uses : actions/cache@v2
97
- with :
98
- path : /Users/runner/Library/Developer/Xcode/DerivedData/**/SourcePackages/checkouts
99
- key : ${{ runner.os }}-spm-watchos-${{ hashFiles('**/Package.resolved') }}
100
- restore-keys : |
101
- ${{ runner.os }}-spm-watchos
102
84
-
uses :
webfactory/[email protected]
103
85
with :
104
86
ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
@@ -112,12 +94,6 @@ jobs:
112
94
with :
113
95
xcode-version : latest-stable
114
96
- uses : actions/checkout@v2
115
- - uses : actions/cache@v2
116
- with :
117
- path : /Users/runner/Library/Developer/Xcode/DerivedData
118
- key : ${{ runner.os }}-spm-examples-${{ hashFiles('**/Package.resolved') }}
119
- restore-keys : |
120
- ${{ runner.os }}-spm-examples
121
97
-
uses :
webfactory/[email protected]
122
98
with :
123
99
ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
@@ -141,4 +117,20 @@ jobs:
141
117
run : |
142
118
cd Examples/apps/SegmentUIKitExample
143
119
xcodebuild -workspace "SegmentUIKitExample.xcworkspace" -scheme "SegmentUIKitExample" -destination 'platform=macOS,variant=Mac Catalyst'
144
-
120
+
121
+
122
+ build_and_test_dest_examples :
123
+ needs : cancel_previous
124
+ runs-on : macos-11
125
+ steps :
126
+ - uses : maxim-lobanov/setup-xcode@v1
127
+ with :
128
+ xcode-version : latest-stable
129
+ - uses : actions/checkout@v2
130
+ -
uses :
webfactory/[email protected]
131
+ with :
132
+ ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
133
+ - name : build for ios simulator
134
+ run : |
135
+ cd Examples/apps/DestinationsExample
136
+ xcodebuild -workspace "DestinationsExample.xcworkspace" -scheme "DestinationsExample" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11,OS=14.0'
0 commit comments