generated from gnu-ci-templates/ci-check
-
Notifications
You must be signed in to change notification settings - Fork 1
1510 lines (1504 loc) · 85.3 KB
/
many-platforms.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
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# A GitHub Actions workflow that builds a package on many platforms.
# Copyright (C) 2024 Free Software Foundation, Inc.
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License,
# or (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Reference documentation for this file:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
#
# Syntax of multiline strings in YAML: https://yaml-multiline.info/
#
# Customization:
# - Review and adapt the part of this file before the 'jobs:' line.
# - You can disable a particular job by adding a line
# if: ${{ false }}
# - You can disable a particular matrix value for a particular job by adding an
# 'exclude' element to the 'matrix' element, such as:
# exclude:
# - bitness: 64
name: Produce tarball and make check
on:
push:
schedule:
# Doc: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# POSIX cron syntax: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
- cron: '50 9 * * 1'
# Variables.
env:
package: gettext
jobs:
build-tarball:
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
- run: uname -a
- run: id
- run: env | LC_ALL=C sort
- run: pwd
# Install Ubuntu packages.
# List of packages: https://packages.ubuntu.com/
- run: sudo apt update; sudo apt install gperf gobjc fp-compiler fp-units-fcl gettext groff texlive-base texlive-latex-base
- run: |
./build-tarball.sh '${{ env.package }}'
# Doc: https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: logs-build-tarball-failed
path: |
${{ env.package }}/config.cache
${{ env.package }}/config.log
${{ env.package }}/config.status
${{ env.package }}/log[1234]
${{ env.package }}/gettext-runtime/tests/test-suite.log
${{ env.package }}/libtextstyle/tests/test-suite.log
${{ env.package }}/gettext-tools/tests/test-suite.log
${{ env.package }}/gettext-tools/system-tests/test-suite.log
${{ env.package }}/gettext-tools/gnulib-tests/test-suite.log
retention-days: 7
overwrite: true
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- uses: actions/upload-artifact@v4
with:
name: tarball
path: ${{ env.package }}/${{ env.package }}-*.tar.gz
if-no-files-found: error
retention-days: 7
compression-level: 0
overwrite: true
# We can run max. 20 "make check" jobs in parallel, max. 5 of them being on macOS.
# See https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
check-linux-gnu-ubuntu:
name: make check on Ubuntu GNU/Linux
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
- run: uname -a
- run: id
- run: env | LC_ALL=C sort
- run: pwd
# Install Ubuntu packages.
# List of packages: https://packages.ubuntu.com/
# - run: sudo apt update; sudo apt install ...
- run: |
pwd
export CPPFLAGS="-Wall"
./build-on.sh '${{ env.package }}' '' 'make' "$HOME" '' 'sudo apt update; sudo apt install g++ gobjc python3 clisp rep guile-3.0 gnu-smalltalk openjdk-11-jdk mono-mcs fp-compiler fp-units-fcl tcl perl libintl-perl php ruby ruby-gettext lua5.4 gjs valac && sudo localedef -i ar_SA -f ISO-8859-6 ar_SA.ISO-8859-6 && sudo localedef -i de_DE -f ISO-8859-1 de_DE.ISO-8859-1 && sudo localedef -i de_DE -f UTF-8 de_DE.UTF-8 && sudo localedef -i es_ES -f UTF-8 es_ES.UTF-8 && sudo localedef -i fa_IR -f UTF-8 fa_IR && sudo localedef -i fr_FR -f ISO-8859-1 fr_FR.ISO-8859-1 && sudo localedef -i fr_FR -f UTF-8 fr_FR.UTF-8 && sudo localedef -i ja_JP -f EUC-JP ja_JP.EUC-JP && sudo localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 && sudo localedef -i zh_CN -f GB18030 zh_CN.GB18030'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-linux-gnu-ubuntu
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-linux-gnu-centos:
name: make check on CentOS GNU/Linux
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
- uses: addnab/docker-run-action@v3
with:
image: centos:7
options: -v ${{ github.workspace }}:/work
run: |
uname -a
id
env | LC_ALL=C sort
pwd
: "The CentOS packages repository has moved on 2024-07-01."
sed -i -e 's|^mirrorlist=|#mirrorlist=|' -e 's|^#baseurl=http://mirror\.centos\.org|baseurl=http://vault.centos.org|' /etc/yum.repos.d/CentOS-Base.repo
: "Install CentOS Linux packages"
: "List of packages: http://vault.centos.org/centos/7/os/x86_64/Packages/"
yum -y install make gcc gcc-c++
cd /work
ls -l
export CPPFLAGS="-Wall"
./build-on.sh '${{ env.package }}' '' 'make' '/usr/local' '' 'yum -y install epel-release && yum -y install gcc-c++ gcc-objc python3 guile gnu-smalltalk java-11-openjdk-devel mono-devel tcl perl perl-libintl php ruby ruby-gettext lua gjs vala glibc-common && localedef -i ar_SA -f ISO-8859-6 ar_SA.ISO-8859-6 && localedef -i de_DE -f ISO-8859-1 de_DE.ISO-8859-1 && localedef -i de_DE -f UTF-8 de_DE.UTF-8 && localedef -i es_ES -f UTF-8 es_ES.UTF-8 && localedef -i fa_IR -f UTF-8 fa_IR && localedef -i fr_FR -f ISO-8859-1 fr_FR.ISO-8859-1 && localedef -i fr_FR -f UTF-8 fr_FR.UTF-8 && localedef -i ja_JP -f EUC-JP ja_JP.EUC-JP && localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 && localedef -i zh_CN -f GB18030 zh_CN.GB18030'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-linux-gnu-centos
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-linux-gnu-alma:
name: make check on AlmaLinux GNU/Linux
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
- uses: addnab/docker-run-action@v3
with:
image: almalinux:9
options: -v ${{ github.workspace }}:/work
run: |
uname -a
id
env | LC_ALL=C sort
pwd
: "Install AlmaLinux packages"
: "List of packages: https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/Packages/"
: " https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/"
: " https://repo.almalinux.org/almalinux/9/CRB/x86_64/os/Packages/"
: " https://repo.almalinux.org/almalinux/9/devel/x86_64/os/Packages/"
: "Explanation: https://wiki.almalinux.org/repos/AlmaLinux.html"
yum -y install glibc-gconv-extra make gcc gcc-c++ diffutils
cd /work
ls -l
export CPPFLAGS="-Wall"
./build-on.sh '${{ env.package }}' '' 'make' '/usr/local' '' 'yum -y install epel-release && yum -y install gcc-c++ gcc-objc python3 guile30 java-11-openjdk-devel mono-devel fpc tcl perl perl-libintl php ruby lua gjs autoconf automake glibc-locale-source && ln -s guile3.0 /usr/bin/guile && localedef -i ar_SA -f ISO-8859-6 ar_SA.ISO-8859-6 && localedef -i de_DE -f ISO-8859-1 de_DE.ISO-8859-1 && localedef -i de_DE -f UTF-8 de_DE.UTF-8 && localedef -i es_ES -f UTF-8 es_ES.UTF-8 && localedef -i fa_IR -f UTF-8 fa_IR && localedef -i fr_FR -f ISO-8859-1 fr_FR.ISO-8859-1 && localedef -i fr_FR -f UTF-8 fr_FR.UTF-8 && localedef -i ja_JP -f EUC-JP ja_JP.EUC-JP && localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 && localedef -i zh_CN -f GB18030 zh_CN.GB18030'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-linux-gnu-alma
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-linux-alpine:
name: make check on Alpine Linux
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
- uses: addnab/docker-run-action@v3
with:
image: alpine:3
options: -v ${{ github.workspace }}:/work
run: |
uname -a
id
env | LC_ALL=C sort
pwd
: "Install Alpine Linux packages"
: "List of packages: https://pkgs.alpinelinux.org/packages"
apk add make gcc musl-dev g++ gnu-libiconv-dev
cd /work
ls -l
export CPPFLAGS="-I/usr/include/gnu-libiconv -Wall"
./build-on.sh '${{ env.package }}' '' 'make' '/usr/local' '' 'apk add g++ gcc-objc python3 clisp guile openjdk17 mono gawk fpc tcl perl perl-libintl-perl php83 ruby gjs vala musl-locales autoconf automake --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-linux-alpine
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-macos:
name: make check on macOS
needs: build-tarball
# Doc: https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-13, macos-14]
runs-on: ${{ matrix.os }}
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
- run: uname -a
- run: id
- run: env | LC_ALL=C sort
- run: pwd
# Install Homebrew packages.
# List of packages: https://formulae.brew.sh/
- run: ${{ matrix.os == 'macos-14' && 'brew install libiconv' || ':' }}
- run: |
pwd
export CPPFLAGS="-I$HOME/include -I${HOMEBREW_PREFIX-/usr/local}/opt/libiconv/include -Wall"
export LDFLAGS="-L$HOME/lib -L${HOMEBREW_PREFIX-/usr/local}/opt/libiconv/lib"
./build-on.sh '${{ env.package }}' '' 'make' "$HOME" '' 'brew install svn && brew install python clisp guile gnu-smalltalk openjdk mono gawk fpc tcl-tk perl php ruby lua gjs vala automake'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-freebsd:
name: make check on FreeBSD
needs: build-tarball
# The FreeBSD runners sometimes get stuck.
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
# Doc: https://github.com/vmactions/freebsd-vm
- uses: vmactions/freebsd-vm@v1
with:
release: '14.0'
mem: 1024
usesh: true
run: |
set -x
uname -a
id
env | LC_ALL=C sort
pwd
: "Install FreeBSD packages"
: "List of packages: https://ports.freebsd.org/cgi/ports.cgi"
: pkg install -y ...
ls -l
export CPPFLAGS="-I/usr/local/include -Wall"
export LDFLAGS="-L/usr/local/lib"
./build-on.sh '${{ env.package }}' '' 'make' '/usr/local' '' 'pkg install -y python311 clisp librep guile3 mono gawk tcl86 p5-Locale-libintl php83 ruby lua54 gjs autoconf automake && ln -s python3.11 /usr/local/bin/python3 && ln -s guile-3.0 /usr/local/bin/guile && ln -s tclsh8.6 /usr/local/bin/tclsh && ln -s lua54 /usr/local/bin/lua'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-freebsd
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-netbsd:
name: make check on NetBSD
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
# Doc: https://github.com/vmactions/netbsd-vm
- uses: vmactions/netbsd-vm@v1
with:
release: '10.0'
mem: 1024
usesh: true
run: |
set -x
uname -a
id
env | LC_ALL=C sort
pwd
: "Install NetBSD packages"
: "List of packages: https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/index-all.html"
: /usr/sbin/pkg_add ...
: "or"
: /usr/sbin/pkg_add pkgin
: pkgin install ...
ls -l
export CPPFLAGS="-I/usr/pkg/include -Wall"
export LDFLAGS="-L/usr/pkg/lib"
./build-on.sh '${{ env.package }}' '' 'make' '/usr/pkg' '' '/usr/sbin/pkg_add python312; /usr/sbin/pkg_add clisp; /usr/sbin/pkg_add librep; /usr/sbin/pkg_add guile30; /usr/sbin/pkg_add openjdk21; /usr/sbin/pkg_add mono; /usr/sbin/pkg_add gawk; /usr/sbin/pkg_add tcl; /usr/sbin/pkg_add p5-Locale-libintl; /usr/sbin/pkg_add php; /usr/sbin/pkg_add ruby ruby32-gettext; /usr/sbin/pkg_add lua54; /usr/sbin/pkg_add vala; /usr/sbin/pkg_add autoconf automake; ln -s python3.12 /usr/pkg/bin/python3 && ln -s ../guile/3.0/bin/guile /usr/pkg/bin/guile && ln -s ../java/openjdk21/bin/java /usr/pkg/bin/java && ln -s ../java/openjdk21/bin/javac /usr/pkg/bin/javac && ln -s ../java/openjdk21/bin/jar /usr/pkg/bin/jar'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-netbsd
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-openbsd:
name: make check on OpenBSD
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
# Doc: https://github.com/vmactions/openbsd-vm
- uses: vmactions/openbsd-vm@v1
with:
release: '7.5'
mem: 1024
usesh: true
# Avoid 'sync: sshfs' since it causes trouble with file timestamps
# and errors from chown() calls:
# - BSD tar error messages for r--r--r-- files: "tar: Unable to create ...: Permission denied"
# - GNU tar warnings "Cannot change ownership to uid 0, gid 0: Permission denied"
#sync: sshfs
run: |
set -x
uname -a
id
env | LC_ALL=C sort
pwd
: "Install OpenBSD packages"
: "List of packages: https://cdn.openbsd.org/pub/OpenBSD/7.5/packages/amd64/"
pkg_add gmake g++
export PATH=/usr/local/bin:$PATH
: "The OpenBSD port of autoconf needs this. See <https://marc.info/?l=openbsd-misc&m=115868167816272&w=2>."
export AUTOCONF_VERSION=2.71
: "The OpenBSD port of automake needs this, if more than one version is installed."
export AUTOMAKE_VERSION=1.16
ls -l
export CPPFLAGS="-I/usr/local/include -Wall"
export LDFLAGS="-L/usr/local/lib"
./build-on.sh '${{ env.package }}' '' 'gmake' '/usr/local' '' 'pkg_add gobjc-11.2.0p11 python3 clisp librep guile3 gawk tcl-8.6.13 php-8.3.3 ruby-3.2.3 ruby32-gettext lua-5.4.6 vala autoconf-2.71 automake-1.16.5 && ln -s guile3.0 /usr/local/bin/guile && ln -s tclsh8.6 /usr/local/bin/tclsh && ln -s php-8.3 /usr/local/bin/php && ln -s lua54 /usr/local/bin/lua'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-openbsd
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-solaris11:
name: make check on Solaris 11
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
# Doc: https://github.com/vmactions/solaris-vm
- uses: vmactions/solaris-vm@v1
with:
# We can choose among
# - the '11.4' image and installing gcc from the Oracle packages site, or
# - the '11.4-gcc' image, that has gcc installed in /opt/csw/bin.
release: '11.4-gcc'
mem: 2048
prepare: |
: "Install Solaris packages"
: "List of packages: http://pkg.oracle.com/solaris/release/en/index.shtml"
pkg install gcc-c++ gnu-make
run: |
set -x
uname -a
id
env | LC_ALL=C sort
pwd
ls -l
export CPPFLAGS="-Wall"
export CC="gcc -m64"
export CXX="g++ -m64"
./build-on.sh '${{ env.package }}' '' 'gmake' "$HOME" '' 'pkg install gcc-gobjc clisp jdk-8 gawk tcl-8 lua gjs vala automake system/locale'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-solaris11
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache
${{ env.package }}-*/build/gettext-tools/config.log
${{ env.package }}-*/build/gettext-tools/config.status
${{ env.package }}-*/build/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/examples/config.cache
${{ env.package }}-*/build/gettext-tools/examples/config.log
${{ env.package }}-*/build/gettext-tools/examples/config.status
${{ env.package }}-*/build-full/config.cache
${{ env.package }}-*/build-full/config.log
${{ env.package }}-*/build-full/config.status
${{ env.package }}-*/build-full/log[123]
${{ env.package }}-*/build-full/gettext-runtime/config.cache
${{ env.package }}-*/build-full/gettext-runtime/config.log
${{ env.package }}-*/build-full/gettext-runtime/config.status
${{ env.package }}-*/build-full/gettext-runtime/intl/config.cache
${{ env.package }}-*/build-full/gettext-runtime/intl/config.log
${{ env.package }}-*/build-full/gettext-runtime/intl/config.status
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build-full/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build-full/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build-full/libtextstyle/config.cache
${{ env.package }}-*/build-full/libtextstyle/config.log
${{ env.package }}-*/build-full/libtextstyle/config.status
${{ env.package }}-*/build-full/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/config.cache
${{ env.package }}-*/build-full/gettext-tools/config.log
${{ env.package }}-*/build-full/gettext-tools/config.status
${{ env.package }}-*/build-full/gettext-tools/tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/system-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/gnulib-tests/test-suite.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.cache
${{ env.package }}-*/build-full/gettext-tools/examples/config.log
${{ env.package }}-*/build-full/gettext-tools/examples/config.status
retention-days: 7
overwrite: true
check-solaris11-omnios:
name: make check on Solaris 11 OmniOS
needs: build-tarball
runs-on: ubuntu-22.04
steps:
# This is needed because we run a script stored in this repository.
- uses: actions/checkout@v4
# Download the artifact to $GITHUB_WORKSPACE.
# Doc: https://github.com/actions/download-artifact?tab=readme-ov-file#usage
- uses: actions/download-artifact@v4
with:
name: tarball
# Doc: https://github.com/vmactions/omnios-vm
- uses: vmactions/omnios-vm@v1
with:
release: "r151048"
mem: 2048
prepare: |
: "Install Solaris packages"
: "List of packages: https://pkg.omnios.org/r151048/core/en/index.shtml"
pkg install \
developer/gcc13 developer/object-file system/header system/library/math \
developer/build/gnu-make \
system/library/iconv/unicode \
system/library/g++-runtime
run: |
set -x
uname -a
id
env | LC_ALL=C sort
pwd
ls -l
export CPPFLAGS="-Wall"
./build-on.sh '${{ env.package }}' '' 'gmake' "$HOME" '' 'pkg install runtime/python-37 runtime/java/openjdk11 text/gawk runtime/perl developer/build/autoconf developer/build/automake locale/de locale/es locale/fr locale/tr'
# Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.com/actions/upload-artifact?tab=readme-ov-file#usage
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-solaris11-omnios
path: |
${{ env.package }}-*/build/config.cache
${{ env.package }}-*/build/config.log
${{ env.package }}-*/build/config.status
${{ env.package }}-*/build/log[123]
${{ env.package }}-*/build/gettext-runtime/config.cache
${{ env.package }}-*/build/gettext-runtime/config.log
${{ env.package }}-*/build/gettext-runtime/config.status
${{ env.package }}-*/build/gettext-runtime/intl/config.cache
${{ env.package }}-*/build/gettext-runtime/intl/config.log
${{ env.package }}-*/build/gettext-runtime/intl/config.status
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.cache
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.log
${{ env.package }}-*/build/gettext-runtime/libasprintf/config.status
${{ env.package }}-*/build/gettext-runtime/tests/test-suite.log
${{ env.package }}-*/build/libtextstyle/config.cache
${{ env.package }}-*/build/libtextstyle/config.log
${{ env.package }}-*/build/libtextstyle/config.status
${{ env.package }}-*/build/libtextstyle/tests/test-suite.log
${{ env.package }}-*/build/gettext-tools/config.cache