28
28
fail-fast : false
29
29
matrix :
30
30
include :
31
- # - swift-version: 'swift-6.2-branch'
32
- # build-type: 'docker'
33
- # build-compiler: '1'
34
- # runner: 'self-hosted'
35
- # - swift-version: 'development'
36
- # build-type: 'docker'
37
- # build-compiler: '1'
38
- # runner: 'self-hosted'
39
31
- swift-version : ' swift-6.2-branch'
40
32
build-type : ' docker'
41
33
build-compiler : ' 0'
45
37
build-compiler : ' 0'
46
38
runner : ' ubuntu-24.04'
47
39
runs-on : ${{ matrix.runner }}
48
- # 15 hour timeout
49
- timeout-minutes : 900
50
40
steps :
51
41
- name : Free Disk Space
52
- if : ${{ matrix.runner != 'self-hosted' }}
53
42
run : |
54
43
df -h
55
44
# brings available space from 25G to 32G
@@ -133,7 +122,6 @@ jobs:
133
122
name : ${{ steps.info.outputs.artifact-name }}
134
123
path : ${{ steps.info.outputs.artifact-path }}
135
124
- name : Cleanup
136
- if : ${{ matrix.runner != 'self-hosted' }}
137
125
run : |
138
126
# need to free up some space or else when installing we get: No space left on device
139
127
df -h
@@ -142,7 +130,6 @@ jobs:
142
130
sudo docker builder prune -a
143
131
df -h
144
132
- name : Install artifactbundle
145
- if : ${{ matrix.runner != 'self-hosted' }}
146
133
shell : bash
147
134
run : |
148
135
set -ex
@@ -153,7 +140,6 @@ jobs:
153
140
echo "ANDROID_NDK_ROOT=" >> $GITHUB_ENV
154
141
155
142
- name : Create Demo Project
156
- if : ${{ matrix.runner != 'self-hosted' }}
157
143
run : |
158
144
cd ${{ runner.temp }}
159
145
mkdir DemoProject
@@ -168,7 +154,6 @@ jobs:
168
154
echo 'import Android' >> Sources/DemoProject/DemoProject.swift
169
155
- name : Test Demo Project on Android
170
156
uses : skiptools/swift-android-action@main
171
- if : ${{ matrix.runner != 'self-hosted' }}
172
157
with :
173
158
# only test for the complete arch SDK build to speed up CI
174
159
# run-tests: ${{ matrix.arch == '' }}
@@ -177,13 +162,11 @@ jobs:
177
162
installed-swift : ${{ steps.info.outputs.swift-root }}
178
163
179
164
- name : Checkout swift-algorithms
180
- if : ${{ matrix.runner != 'self-hosted' }}
181
165
uses : actions/checkout@v4
182
166
with :
183
167
repository : apple/swift-algorithms
184
168
path : swift-algorithms
185
169
- name : Test swift-algorithms
186
- if : ${{ matrix.runner != 'self-hosted' }}
187
170
uses : skiptools/swift-android-action@main
188
171
with :
189
172
package-path : swift-algorithms
0 commit comments