File tree Expand file tree Collapse file tree 2 files changed +62
-44
lines changed Expand file tree Collapse file tree 2 files changed +62
-44
lines changed Original file line number Diff line number Diff line change 30
30
secrets_passphrase : ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
31
31
32
32
jobs :
33
+ spm-buildonly :
34
+ name : spm (non-SwiftUI)
35
+ runs-on : macOS-15
36
+ env :
37
+ OS : iOS
38
+ SPM : true
39
+ LEGACY : false
40
+ DIR : database
41
+ DEVICE : iPhone 16
42
+ TEST : false
43
+ SCHEME : DatabaseExampleSwift
44
+ steps :
45
+ - name : Checkout
46
+ uses : actions/checkout@master
47
+ - name : Setup
48
+ run : |
49
+ gem install xcpretty
50
+ cd database
51
+ ../scripts/install_prereqs/database.sh
52
+ - name : Build Swift
53
+ run : ./scripts/test.sh
54
+
33
55
spm :
34
- name : spm (Xcode ${{ matrix.xcode }} - ${{ matrix.name }})
56
+ name : spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
35
57
runs-on : macOS-15
36
58
strategy :
37
59
matrix :
38
60
xcode : ["16.4"]
61
+ os : [iOS, tvOS, macOS]
39
62
include :
40
- - name : " non-SwiftUI"
41
- os : iOS
42
- device : " iPhone 16"
43
- test : false
44
- dir : " database"
45
- scheme : " DatabaseExampleSwift"
46
- legacy : false
47
- - name : " iOS"
48
- os : iOS
49
- device : " iPhone 16"
63
+ - os : iOS
64
+ device : iPhone 16
50
65
test : false
51
- dir : " database/DatabaseExampleSwiftUI/DatabaseExample"
52
- - name : " tvOS"
53
- os : tvOS
54
- device : " Apple TV 4K (3rd generation) (at 1080p)"
66
+ - os : tvOS
67
+ device : Apple TV 4K (3rd generation) (at 1080p)
55
68
test : true
56
- dir : " database/DatabaseExampleSwiftUI/DatabaseExample"
57
- - name : " macOS"
58
- os : macOS
59
- device : " localhost"
69
+ - os : macOS
70
+ device : localhost
60
71
test : false # flaky macOS UITest: UITests.testStaticSignUpView() sometimes fails
61
- dir : " database/DatabaseExampleSwiftUI/DatabaseExample"
62
72
env :
63
73
SETUP : database
64
74
SPM : true
65
- DIR : ${{ matrix.dir }}
75
+ DIR : database/DatabaseExampleSwiftUI/DatabaseExample
66
76
OS : ${{ matrix.os }}
67
77
DEVICE : ${{ matrix.device }}
68
78
TEST : ${{ matrix.test }}
69
- SCHEME : ${{ matrix.scheme }}
70
- LEGACY : ${{ matrix.legacy }}
71
79
steps :
72
80
- name : Checkout
73
81
uses : actions/checkout@master
76
84
gem install xcpretty
77
85
cd $SETUP
78
86
../scripts/install_prereqs/${SETUP}.sh
79
- - name : Build and Test
87
+ - name : Build and Test SwiftUI (${{ matrix.os }})
80
88
run : ./scripts/test.sh
Original file line number Diff line number Diff line change 34
34
secrets_passphrase : ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
35
35
36
36
jobs :
37
+ spm-buildonly :
38
+ name : spm
39
+ runs-on : macOS-15
40
+ env :
41
+ SPM : true
42
+ LEGACY : false
43
+ OS : iOS
44
+ DEVICE : iPhone 16
45
+ TEST : true
46
+ DIR : performance
47
+ SCHEME : PerformanceExampleSwift
48
+ steps :
49
+ - name : Checkout
50
+ uses : actions/checkout@master
51
+ - name : Setup
52
+ run : |
53
+ cd performance
54
+ gem install xcpretty
55
+ ../scripts/install_prereqs/performance.sh
56
+ - name : Build Swift
57
+ run : ./scripts/test.sh
58
+
37
59
spm :
38
- name : spm (Xcode ${{ matrix.xcode }} - ${{ matrix.name }})
60
+ name : spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
39
61
runs-on : macOS-15
40
62
strategy :
41
63
matrix :
42
64
xcode : ["16.4"]
65
+ os : [iOS, tvOS]
43
66
include :
44
- - name : " non-SwiftUI"
45
- os : iOS
46
- device : " iPhone 16"
47
- test : true
48
- dir : " performance"
49
- scheme : " PerformanceExampleSwift"
50
- legacy : false
51
- - name : " iOS"
52
- os : iOS
53
- device : " iPhone 16"
67
+ - os : iOS
68
+ device : iPhone 16
54
69
test : false
55
- dir : " performance/SwiftUIPerformanceQuickstart/PerformanceExample"
56
- - name : " tvOS"
57
- os : tvOS
58
- device : " Apple TV 4K (3rd generation) (at 1080p)"
70
+ - os : tvOS
71
+ device : Apple TV 4K (3rd generation) (at 1080p)
59
72
test : false
60
- dir : " performance/SwiftUIPerformanceQuickstart/PerformanceExample"
61
73
env :
62
74
SETUP : performance
63
75
SPM : true
64
- DIR : ${{ matrix.dir }}
76
+ DIR : performance/SwiftUIPerformanceQuickstart/PerformanceExample
65
77
OS : ${{ matrix.os }}
66
78
DEVICE : ${{ matrix.device }}
67
79
TEST : ${{ matrix.test }}
68
- SCHEME : ${{ matrix.scheme }}
69
- LEGACY : ${{ matrix.legacy }}
70
80
steps :
71
81
- name : Checkout
72
82
uses : actions/checkout@master
75
85
gem install xcpretty
76
86
cd $SETUP
77
87
../scripts/install_prereqs/${SETUP}.sh
78
- - name : Build and Test
88
+ - name : Build and Test SwiftUI (${{ matrix.os }})
79
89
run : ./scripts/test.sh
You can’t perform that action at this time.
0 commit comments