File tree 3 files changed +21
-23
lines changed
3 files changed +21
-23
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,13 @@ jobs:
32
32
runs-on : macOS-15
33
33
strategy :
34
34
matrix :
35
- os : [iOS, catalyst, tvOS, macOS]
35
+ os : [iOS, tvOS, macOS]
36
36
xcode : ["16.1"]
37
37
include :
38
38
- os : iOS
39
39
device : iPhone 16
40
+ scheme : AnalyticsExample
40
41
test : true
41
- - os : catalyst
42
- device : localhost
43
- test : false # disabled due to a permissions error on launch (OSStatus -54).
44
42
- os : tvOS
45
43
device : Apple TV 4K (3rd generation) (at 1080p)
46
44
scheme : AnalyticsExampleTV
@@ -50,21 +48,22 @@ jobs:
50
48
scheme : AnalyticsExampleMac
51
49
test : true
52
50
env :
51
+ OS : ${{ matrix.os }}
52
+ SETUP : analytics
53
53
SPM : true
54
54
LEGACY : false
55
- OS : ${{ matrix.os }}
55
+ DIR : analytics
56
56
DEVICE : ${{ matrix.device }}
57
+ TEST : ${{ matrix.test }}
57
58
SCHEME : ${{ matrix.scheme }}
58
59
DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
59
60
steps :
60
61
- name : Checkout
61
62
uses : actions/checkout@master
62
63
- name : Setup
63
64
run : |
64
- cd analytics
65
- ../scripts/install_prereqs/analytics.sh
66
- - name : Build Swift
65
+ gem install xcpretty
66
+ cd $SETUP
67
+ ../scripts/install_prereqs/${SETUP}.sh
68
+ - name : Build and Test SwiftUI (${{ matrix.os }})
67
69
run : ./scripts/test.sh
68
- env :
69
- TEST : ${{ matrix.test }}
70
- SWIFT_SUFFIX : " "
Original file line number Diff line number Diff line change @@ -31,19 +31,22 @@ jobs:
31
31
name : spm
32
32
runs-on : macOS-15
33
33
env :
34
+ OS : iOS
35
+ SETUP : authentication
34
36
SPM : true
35
37
LEGACY : false
36
- OS : iOS
38
+ DIR : authentication
37
39
DEVICE : iPhone 16
38
40
TEST : true
41
+ SCHEME : AuthenticationExample
42
+ DEVELOPER_DIR : /Applications/Xcode_16.1.app/Contents/Developer
39
43
steps :
40
44
- name : Checkout
41
45
uses : actions/checkout@master
42
46
- name : Setup
43
47
run : |
44
- cd authentication
45
- ../scripts/install_prereqs/authentication.sh
46
- - name : Build Swift
48
+ gem install xcpretty
49
+ cd $SETUP
50
+ ../scripts/install_prereqs/${SETUP}.sh
51
+ - name : Build and Test SwiftUI (${OS})
47
52
run : ./scripts/test.sh
48
- env :
49
- SWIFT_SUFFIX : " "
Original file line number Diff line number Diff line change 28
28
29
29
jobs :
30
30
cocoapods :
31
- name : cocoapods
31
+ name : spm
32
32
runs-on : macOS-15
33
33
env :
34
- SPM : false
34
+ SPM : true
35
35
LEGACY : false
36
36
SWIFT_SUFFIX : " "
37
37
TEST : true
41
41
- name : Setup
42
42
run : |
43
43
cd config
44
- gem install bundler
45
- bundle install
46
- gem install xcpretty
47
- bundle exec pod install --repo-update
48
44
../scripts/install_prereqs/config.sh
49
45
xcrun simctl boot "iPhone 16"
50
46
- name : Build Swift
You can’t perform that action at this time.
0 commit comments