5454 with :
5555 xcode-version : latest-stable
5656 - 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
6357 -
uses :
webfactory/[email protected] 6458 with :
6559 ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
7468 with :
7569 xcode-version : latest-stable
7670 - 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
8371 -
uses :
webfactory/[email protected] 8472 with :
8573 ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
9381 with :
9482 xcode-version : latest-stable
9583 - 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
10284 -
uses :
webfactory/[email protected] 10385 with :
10486 ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
@@ -112,12 +94,6 @@ jobs:
11294 with :
11395 xcode-version : latest-stable
11496 - 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
12197 -
uses :
webfactory/[email protected] 12298 with :
12399 ssh-private-key : ${{ secrets.SOVRAN_SSH_KEY }}
@@ -141,4 +117,20 @@ jobs:
141117 run : |
142118 cd Examples/apps/SegmentUIKitExample
143119 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