-
-
Notifications
You must be signed in to change notification settings - Fork 5
707 lines (596 loc) · 24.1 KB
/
test-docker-linux-arm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
# -----------------------------------------------------------------------------
# DO NOT EDIT! Generated from xpacks/@xpack-dev-tools/xbb-helper/templates/*.
#
# This file is part of the xPack distribution.
# (https://xpack.github.io)
# Copyright (c) 2021 Liviu Ionescu.
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose is hereby granted, under the terms of the MIT license.
# -----------------------------------------------------------------------------
# https://help.github.com/en/actions
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
# https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event
# -----------------------------------------------------------------------------
# https://github.com/docker-library/official-images#architectures-other-than-amd64
# Debian versions:
# - 8 jessie
# - 9 stretch
# - 10 buster
# - 11 bullseye
# Ubuntu releases
# - 12.04 LTS (Precise Pangolin)
# - 14.04 LTS (Trusty Tahr)
# - 16.04 LTS (Xenial Xerus)
# - 18.04 LTS (Bionic Beaver)
# - 20.04 LTS (Focal Fossa)
# - 22.04 LTS (Jammy Jellyfish)
# -----------------------------------------------------------------------------
name: 'Test xPack GCC on Arm Docker platforms'
on:
workflow_dispatch:
inputs:
base_url:
description: 'The folder part of the URL where binaries are stored'
required: false
default: 'release'
version:
description: 'The semver of the release'
required: false
default: 'current'
helper-git-ref:
description: 'The helper branch, tag or SHA to checkout'
required: false
default: 'xpack-develop'
# The scripts are executed in the Docker context by GitHub Actions,
# so `native-test.sh` should be fine, it already takes care of updates.
jobs:
# https://en.wikipedia.org/wiki/Ubuntu_version_history
# https://hub.docker.com/_/ubuntu
# The ubuntu:12.04 image fails to update.
ubuntu-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Ubuntu stable'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Ubuntu 22.04 arm64'
uses: docker://ubuntu:22.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Ubuntu 20.04 arm64'
uses: docker://ubuntu:20.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:20.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Ubuntu 18.04 arm64'
uses: docker://ubuntu:18.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:18.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://en.wikipedia.org/wiki/Debian_version_history
# https://hub.docker.com/_/debian
debian-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Debian stable'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Debian 11 arm64'
uses: docker://debian:bullseye
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:bullseye --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Debian 10 arm64'
uses: docker://debian:buster
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:buster --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://hub.docker.com/r/redhat/ubi8
# `-static` disabled, there is no static libc.a.
redhat-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on RedHat stable'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'RedHat 8 arm64'
uses: docker://redhat/ubi8
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image redhat/ubi8 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://en.wikipedia.org/wiki/Fedora_version_history
# https://hub.docker.com/_/fedora
# `-static` disabled, there is no static libc.a.
fedora-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Fedora stable'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Fedora 37 arm64'
uses: docker://fedora:37
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:37 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Fedora 33 arm64'
uses: docker://fedora:33
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:33 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Fedora 29 arm64'
uses: docker://fedora:29
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:29 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://en.wikipedia.org/wiki/OpenSUSE#Releases
# https://hub.docker.com/u/opensuse
# `-static` disabled, there is no static libc.a.
opensuse-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on OpenSUSE stable'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'OpenSUSE 15.4 arm64'
uses: docker://opensuse/leap:15.4
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image opensuse/leap:15.4 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'OpenSUSE 15.3 arm64'
uses: docker://opensuse/leap:15.3
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image opensuse/leap:15.3 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# ---------------------------------------------------------------------------
ubuntu-arm64-latest:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Ubuntu latest'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Ubuntu latest arm64'
uses: docker://ubuntu:22.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# ubuntu:rolling fails during update
debian-arm64-latest:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Debian latest'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Debian testing arm64'
uses: docker://debian:testing
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:testing --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Debian latest arm64'
uses: docker://debian:latest
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://en.wikipedia.org/wiki/Fedora_version_history
# https://hub.docker.com/_/fedora
# `-static` disabled, there is no static libc.a.
fedora-arm64-latest:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Fedora latest'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Fedora latest arm64'
uses: docker://fedora:latest
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# - https://hub.docker.com/r/opensuse/tumbleweed
opensuse-arm64-latest:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on OpenSUSE latest'
runs-on: [self-hosted, linux, arm64, xbbla]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'OpenSUSE tumbleweed arm64'
uses: docker://opensuse/tumbleweed
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image opensuse/tumbleweed --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://hub.docker.com/r/arm32v7/ubuntu/
ubuntu-arm:
name: 'arm gcc ${{ github.event.inputs.version }} test on Ubuntu stable'
runs-on: [self-hosted, linux, arm, xbbla32]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Ubuntu 22.04 arm'
uses: docker://arm32v7/ubuntu:22.04
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Ubuntu 20.04 arm'
uses: docker://arm32v7/ubuntu:20.04
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/ubuntu:20.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Ubuntu 18.04 arm'
uses: docker://arm32v7/ubuntu:18.04
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/ubuntu:18.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://hub.docker.com/r/arm32v7/debian
debian-arm:
name: 'arm gcc ${{ github.event.inputs.version }} test on Debian stable'
runs-on: [self-hosted, linux, arm, xbbla32]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Debian 11 arm'
uses: docker://arm32v7/debian:bullseye
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/debian:bullseye --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Debian 10 arm'
uses: docker://arm32v7/debian:buster
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/debian:buster --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://hub.docker.com/r/arm32v7/ubuntu/
ubuntu-arm-latest:
name: 'arm gcc ${{ github.event.inputs.version }} test on Ubuntu latest'
runs-on: [self-hosted, linux, arm, xbbla32]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Ubuntu latest arm'
uses: docker://arm32v7/ubuntu:22.04
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://hub.docker.com/r/arm32v7/debian
debian-arm-latest:
name: 'arm gcc ${{ github.event.inputs.version }} test on Debian latest'
runs-on: [self-hosted, linux, arm, xbbla32]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Debian testing arm'
uses: docker://arm32v7/debian:testing
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/debian:testing --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
- name: 'Debian latest arm'
uses: docker://arm32v7/debian:latest
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/debian:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# https://en.wikipedia.org/wiki/Fedora_version_history
# https://hub.docker.com/r/arm32v7/fedora
# `-static` disabled, there is no static libc.a.
fedora-arm-latest:
name: 'arm gcc ${{ github.event.inputs.version }} test on Fedora latest'
runs-on: [self-hosted, linux, arm, xbbla32]
steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area' # Mandatory for self-hosted runners.
run: |
chmod -Rf a+w * || true
rm -rf * .git*
# https://github.com/actions/checkout
- name: 'Checkout project'
uses: actions/checkout@v3
with:
fetch-depth: 3
- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3
- name: 'Fedora latest arm'
uses: docker://arm32v7/fedora:latest
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image arm32v7/fedora:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# - https://hub.docker.com/r/arm32v7/opensuse
# arm32v7/opensuse:latest is leap 42.3 and fails due to http: URLs
# (zypper lr -u)
# -----------------------------------------------------------------------------