38
38
branches :
39
39
- master
40
40
41
-
42
-
43
41
env :
42
+ RPI_TYPE : 0-1
44
43
CURL_VERSION : 7.68.0
45
44
CCACHE_COMPRESS : 1
46
45
CCACHE_DIR : $HOME/.ccache
47
46
USER_SFTP : ${{ secrets.USER_SFTP }}
48
47
PASSWORD_SFTP : ${{ secrets.PASSWORD_SFTP }}
49
48
50
49
jobs :
51
- builder-buster_0 :
52
- name : BASE GCC-8.3.0 32-bit Buster Pi[0-1]
50
+ builder-base :
51
+ name : Base GCC 32-bit Builder Pi[0-1]
53
52
runs-on : ubuntu-latest
53
+ strategy :
54
+ matrix :
55
+ rpios_types : [stretch, buster]
54
56
env :
55
- GCC_VERSION : 8.3.0
56
- RPIOS_TYPE : buster
57
- RPI_TYPE : 0-1
57
+ RPIOS_TYPE : ${{ matrix.rpios_types }}
58
58
COMPILER_TYPE : CROSS
59
59
BASE : true
60
60
steps :
80
80
source ~/.bashrc && echo $PATH
81
81
if : success()
82
82
- name : script
83
- run : bash build-scripts/CI/CIBB_32b -g $GCC_VERSION - r $RPI_TYPE -o $RPIOS_TYPE
83
+ run : bash build-scripts/CI/CIBB_32b -r $RPI_TYPE -o $RPIOS_TYPE
84
84
shell : bash
85
85
if : success() && github.event_name == 'pull_request'
86
86
- name : before_script
@@ -92,19 +92,23 @@ jobs:
92
92
cp docs/base-gcc.md $HOME/README.md
93
93
bash utils/SF_docs_deployer
94
94
shell : bash
95
- if : success() && github.event_name == 'push '
95
+ if : success() && github.event_name == 'release '
96
96
- name : deploy
97
97
run : bash utils/SF_deployer
98
98
shell : bash
99
99
if : success() && github.event_name == 'release' && github.event.action == 'published'
100
- builder-buster_1 :
101
- name : Cross GCC-9.3.0 32-bit Buster Pi[0-1]
102
- needs : builder-buster_0
100
+
101
+ builder-cross :
102
+ name : Cross GCC 32-bit Builder Pi[0-1]
103
+ needs : builder-base
103
104
runs-on : ubuntu-latest
105
+ strategy :
106
+ matrix :
107
+ gcc_versions : [6.3.0, 8.3.0, 9.2.0, 9.3.0, 10.1.0]
108
+ rpios_types : [stretch, buster]
104
109
env :
105
- GCC_VERSION : 9.3.0
106
- RPIOS_TYPE : buster
107
- RPI_TYPE : 0-1
110
+ GCC_VERSION : ${{ matrix.gcc_versions }}
111
+ RPIOS_TYPE : ${{ matrix.rpios_types }}
108
112
COMPILER_TYPE : CROSS
109
113
steps :
110
114
- uses : actions/checkout@v2
@@ -142,60 +146,23 @@ jobs:
142
146
cp docs/cross-gcc.md $HOME/root/README.md
143
147
bash utils/SF_docs_deployer
144
148
shell : bash
145
- if : success() && github.event_name == 'push '
149
+ if : success() && github.event_name == 'release '
146
150
- name : deploy
147
151
run : bash utils/SF_deployer
148
152
shell : bash
149
153
if : success() && github.event_name == 'release' && github.event.action == 'published'
150
- builder-buster_1_1 :
151
- name : Cross GCC-8.3.0 32-bit Buster Pi[0-1]
152
- needs : builder-buster_0
153
- runs-on : ubuntu-latest
154
- env :
155
- GCC_VERSION : 8.3.0
156
- RPIOS_TYPE : buster
157
- RPI_TYPE : 0-1
158
- COMPILER_TYPE : CROSS
159
- steps :
160
- - uses : actions/checkout@v2
161
- - name : before_install
162
- run : |
163
- sudo apt-get update -qq
164
- sudo apt-get install -qq dos2unix -y
165
- dos2unix build-scripts/CI/CICTB_32b
166
- chmod +x build-scripts/CI/CICTB_32b
167
- dos2unix patches/curl_stfp_patcher
168
- chmod +x patches/curl_stfp_patcher
169
- dos2unix utils/SF_deployer
170
- chmod +x utils/SF_deployer
171
- if : success()
172
- - name : install
173
- run : |
174
- sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
175
- sudo /usr/sbin/update-ccache-symlinks
176
- echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
177
- source ~/.bashrc && echo $PATH
178
- if : success()
179
- - name : script
180
- run : bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
181
- shell : bash
182
- if : success()
183
- - name : before_script
184
- run : bash patches/curl_stfp_patcher
185
- shell : bash
186
- if : success()
187
- - name : deploy
188
- run : bash utils/SF_deployer
189
- shell : bash
190
- if : success() && github.event_name == 'release' && github.event.action == 'published'
191
- builder-buster_2 :
192
- name : Native GCC-9.3.0 32-bit Buster Pi[0-1]
193
- needs : [builder-buster_0, builder-buster_1]
154
+
155
+ builder-native :
156
+ name : Native GCC 32-bit Builder Pi[0-1]
157
+ needs : [builder-base, builder-cross]
194
158
runs-on : ubuntu-latest
159
+ strategy :
160
+ matrix :
161
+ gcc_versions : [9.3.0, 10.1.0]
162
+ rpios_types : [stretch, buster]
195
163
env :
196
- GCC_VERSION : 9.3.0
197
- RPIOS_TYPE : buster
198
- RPI_TYPE : 0-1
164
+ GCC_VERSION : ${{ matrix.gcc_versions }}
165
+ RPIOS_TYPE : ${{ matrix.rpios_types }}
199
166
COMPILER_TYPE : NATIVE
200
167
steps :
201
168
- uses : actions/checkout@v2
@@ -233,173 +200,8 @@ jobs:
233
200
cp docs/native-gcc.md $HOME/root/README.md
234
201
bash utils/SF_docs_deployer
235
202
shell : bash
236
- if : success() && github.event_name == 'push'
237
- - name : deploy
238
- run : bash utils/SF_deployer
239
- shell : bash
240
- if : success() && github.event_name == 'release' && github.event.action == 'published'
241
-
242
- builder-stretch_0 :
243
- name : BASE GCC-6.3.0 32-bit Stretch Pi[0-1]
244
- runs-on : ubuntu-latest
245
- env :
246
- GCC_VERSION : 6.3.0
247
- RPIOS_TYPE : stretch
248
- RPI_TYPE : 0-1
249
- COMPILER_TYPE : CROSS
250
- BASE : true
251
- steps :
252
- - uses : actions/checkout@v2
253
- - name : before_install
254
- run : |
255
- sudo apt-get update -qq
256
- sudo apt-get install -qq dos2unix -y
257
- dos2unix build-scripts/CI/CIBB_32b
258
- chmod +x build-scripts/CI/CIBB_32b
259
- dos2unix patches/curl_stfp_patcher
260
- chmod +x patches/curl_stfp_patcher
261
- dos2unix utils/SF_deployer
262
- chmod +x utils/SF_deployer
263
- if : success()
264
- - name : install
265
- run : |
266
- sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
267
- sudo /usr/sbin/update-ccache-symlinks
268
- echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
269
- source ~/.bashrc && echo $PATH
270
- if : success()
271
- - name : script
272
- run : bash build-scripts/CI/CIBB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
273
- shell : bash
274
- if : success() && github.event_name == 'pull_request'
275
- - name : before_script
276
- run : bash patches/curl_stfp_patcher
277
- shell : bash
278
- if : success()
203
+ if : success() && github.event_name == 'release'
279
204
- name : deploy
280
205
run : bash utils/SF_deployer
281
206
shell : bash
282
207
if : success() && github.event_name == 'release' && github.event.action == 'published'
283
- builder-stretch_1 :
284
- name : Cross GCC-9.3.0 32-bit Stretch Pi[0-1]
285
- needs : builder-stretch_0
286
- runs-on : ubuntu-latest
287
- env :
288
- GCC_VERSION : 9.3.0
289
- RPIOS_TYPE : stretch
290
- RPI_TYPE : 0-1
291
- COMPILER_TYPE : CROSS
292
- steps :
293
- - uses : actions/checkout@v2
294
- - name : before_install
295
- run : |
296
- sudo apt-get update -qq
297
- sudo apt-get install -qq dos2unix -y
298
- dos2unix build-scripts/CI/CICTB_32b
299
- chmod +x build-scripts/CI/CICTB_32b
300
- dos2unix patches/curl_stfp_patcher
301
- chmod +x patches/curl_stfp_patcher
302
- dos2unix utils/SF_deployer
303
- chmod +x utils/SF_deployer
304
- if : success()
305
- - name : install
306
- run : |
307
- sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
308
- sudo /usr/sbin/update-ccache-symlinks
309
- echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
310
- source ~/.bashrc && echo $PATH
311
- if : success()
312
- - name : script
313
- run : bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
314
- shell : bash
315
- if : success()
316
- - name : before_script
317
- run : bash patches/curl_stfp_patcher
318
- shell : bash
319
- if : success()
320
- - name : deploy
321
- run : bash utils/SF_deployer
322
- shell : bash
323
- if : success() && github.event_name == 'release' && github.event.action == 'published'
324
- builder-stretch_1_1 :
325
- name : Cross GCC-6.3.0 32-bit Stretch Pi[0-1]
326
- needs : builder-stretch_0
327
- runs-on : ubuntu-latest
328
- env :
329
- GCC_VERSION : 6.3.0
330
- RPIOS_TYPE : stretch
331
- RPI_TYPE : 0-1
332
- COMPILER_TYPE : CROSS
333
- steps :
334
- - uses : actions/checkout@v2
335
- - name : before_install
336
- run : |
337
- sudo apt-get update -qq
338
- sudo apt-get install -qq dos2unix -y
339
- dos2unix build-scripts/CI/CICTB_32b
340
- chmod +x build-scripts/CI/CICTB_32b
341
- dos2unix patches/curl_stfp_patcher
342
- chmod +x patches/curl_stfp_patcher
343
- dos2unix utils/SF_deployer
344
- chmod +x utils/SF_deployer
345
- if : success()
346
- - name : install
347
- run : |
348
- sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
349
- sudo /usr/sbin/update-ccache-symlinks
350
- echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
351
- source ~/.bashrc && echo $PATH
352
- if : success()
353
- - name : script
354
- run : bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
355
- shell : bash
356
- if : success()
357
- - name : before_script
358
- run : bash patches/curl_stfp_patcher
359
- shell : bash
360
- if : success()
361
- - name : deploy
362
- run : bash utils/SF_deployer
363
- shell : bash
364
- if : success() && github.event_name == 'release' && github.event.action == 'published'
365
- builder-stretch_2 :
366
- name : Native GCC-9.3.0 32-bit Stretch Pi[0-1]
367
- needs : [builder-stretch_0, builder-stretch_1]
368
- runs-on : ubuntu-latest
369
- env :
370
- GCC_VERSION : 9.3.0
371
- RPIOS_TYPE : stretch
372
- RPI_TYPE : 0-1
373
- COMPILER_TYPE : NATIVE
374
- steps :
375
- - uses : actions/checkout@v2
376
- - name : before_install
377
- run : |
378
- sudo apt-get update -qq
379
- sudo apt-get install -qq dos2unix -y
380
- dos2unix build-scripts/CI/CINTB_32b
381
- chmod +x build-scripts/CI/CINTB_32b
382
- dos2unix patches/curl_stfp_patcher
383
- chmod +x patches/curl_stfp_patcher
384
- dos2unix utils/SF_deployer
385
- chmod +x utils/SF_deployer
386
- if : success()
387
- - name : install
388
- run : |
389
- sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
390
- sudo /usr/sbin/update-ccache-symlinks
391
- echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
392
- source ~/.bashrc && echo $PATH
393
- if : success()
394
- - name : script
395
- run : bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
396
- shell : bash
397
- if : success()
398
- - name : before_script
399
- run : bash patches/curl_stfp_patcher
400
- shell : bash
401
- if : success()
402
- - name : deploy
403
- run : bash utils/SF_deployer
404
- shell : bash
405
- if : success() && github.event_name == 'release' && github.event.action == 'published'
0 commit comments