@@ -2,7 +2,7 @@ name: Checks
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [ main ]
6
6
pull_request :
7
7
branches : ' *'
8
8
11
11
12
12
jobs :
13
13
unit-tests :
14
- runs-on : macos-12
14
+ runs-on : self-hosted
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v3
26
26
run : swift test -v
27
27
28
28
test-iOS-ResourceApp :
29
- runs-on : macos-12
29
+ runs-on : self-hosted
30
30
needs : build-rswift
31
31
steps :
32
32
- name : Checkout
35
35
uses : actions/download-artifact@v4.1.7
36
36
with :
37
37
name : rswift-dev
38
+ path : rswift-dev
38
39
- name : Put build into place
39
40
run : |
40
41
mkdir -p .build/release
56
57
run : xcodebuild -workspace Examples/ResourceApp/ResourceApp.xcworkspace -scheme ResourceApp -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0' test
57
58
58
59
test-iOS-StaticFrameworks :
59
- runs-on : macos-12
60
+ runs-on : self-hosted
60
61
needs : build-rswift
61
62
steps :
62
63
- name : Checkout
65
66
uses : actions/download-artifact@v4.1.7
66
67
with :
67
68
name : rswift-dev
69
+ path : rswift-dev
68
70
- name : Put build into place
69
71
run : |
70
72
mkdir -p .build/release
75
77
run : xcodebuild -project Examples/RswiftAppWithStaticFrameworks/RswiftAppWithStaticFrameworks.xcodeproj -scheme App -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0' test
76
78
77
79
test-iOS-LocalizedStringApp :
78
- runs-on : macos-12
80
+ runs-on : self-hosted
79
81
needs : build-rswift
80
82
steps :
81
83
- name : Checkout
84
86
uses : actions/download-artifact@v4.1.7
85
87
with :
86
88
name : rswift-dev
89
+ path : rswift-dev
87
90
- name : Put build into place
88
91
run : |
89
92
mkdir -p .build/release
93
96
run : xcodebuild -project Examples/LocalizedStringApp/LocalizedStringApp.xcodeproj -scheme LocalizedStringApp -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0' test
94
97
95
98
test-tvOS :
96
- runs-on : macos-12
99
+ runs-on : self-hosted
97
100
needs : build-rswift
98
101
steps :
99
102
- name : Checkout
@@ -102,6 +105,7 @@ jobs:
102
105
uses : actions/download-artifact@v4.1.7
103
106
with :
104
107
name : rswift-dev
108
+ path : rswift-dev
105
109
- name : Put build into place
106
110
run : |
107
111
mkdir -p .build/release
@@ -112,7 +116,7 @@ jobs:
112
116
run : xcodebuild -project Examples/RtvApp/RtvApp.xcodeproj -scheme ResourceApp-tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=16.0' test
113
117
114
118
build-rswift :
115
- runs-on : macos-12
119
+ runs-on : self-hosted
116
120
steps :
117
121
- name : Checkout
118
122
uses : actions/checkout@v3
0 commit comments