@@ -102,6 +102,13 @@ jobs:
102
102
, DISTRO: "CentOS"
103
103
, ARTIFACT: "x86_64-linux-centos7"
104
104
, ADD_CABAL_ARGS: "--enable-split-sections"
105
+ },
106
+ { image: "rockylinux:8"
107
+ , installCmd: "yum -y install epel-release && yum install -y --allowerasing"
108
+ , toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf"
109
+ , DISTRO: "Unknown"
110
+ , ARTIFACT: "x86_64-linux-unknown"
111
+ , ADD_CABAL_ARGS: "--enable-split-sections"
105
112
}
106
113
]
107
114
container :
@@ -111,7 +118,15 @@ jobs:
111
118
shell : sh
112
119
run : |
113
120
${{ matrix.platform.installCmd }} curl bash git ${{ matrix.platform.toolRequirements }}
121
+
122
+ - if : matrix.platform.DISTRO == 'Unknown'
123
+ run : |
124
+ echo "NAME=Linux" > /etc/os-release
125
+ echo "ID=linux" >> /etc/os-release
126
+ echo "PRETTY_NAME=Linux" >> /etc/os-release
127
+
114
128
- uses : actions/checkout@v3
129
+
115
130
- name : Run build
116
131
run : |
117
132
bash .github/scripts/build.sh
@@ -385,6 +400,11 @@ jobs:
385
400
toolRequirements : libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf tree
386
401
DISTRO : Mint
387
402
ARTIFACT : " x86_64-linux-mint19.3"
403
+ - image : " rockylinux:8"
404
+ installCmd : " yum -y install epel-release && yum install -y --allowerasing"
405
+ toolRequirements : " autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf"
406
+ DISTRO : " Unknown"
407
+ ARTIFACT : " x86_64-linux-unknown"
388
408
- image : linuxmintd/mint20.2-amd64
389
409
installCmd : apt-get update && apt-get install -y
390
410
toolRequirements : libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf tree
@@ -398,6 +418,12 @@ jobs:
398
418
run : |
399
419
${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }}
400
420
421
+ - if : matrix.platform.DISTRO == 'Unknown'
422
+ run : |
423
+ echo "NAME=Linux" > /etc/os-release
424
+ echo "ID=linux" >> /etc/os-release
425
+ echo "PRETTY_NAME=Linux" >> /etc/os-release
426
+
401
427
- uses : actions/checkout@v3
402
428
403
429
- uses : actions/download-artifact@v3
@@ -668,6 +694,11 @@ jobs:
668
694
toolRequirements : libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf tree
669
695
DISTRO : Mint
670
696
ARTIFACT : " x86_64-linux-mint19.3"
697
+ - image : " rockylinux:8"
698
+ installCmd : " yum -y install epel-release && yum install -y --allowerasing"
699
+ toolRequirements : " autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf"
700
+ DISTRO : " Unknown"
701
+ ARTIFACT : " x86_64-linux-unknown"
671
702
- image : linuxmintd/mint20.2-amd64
672
703
installCmd : apt-get update && apt-get install -y
673
704
toolRequirements : libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf tree
@@ -681,6 +712,12 @@ jobs:
681
712
run : |
682
713
${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }}
683
714
715
+ - if : matrix.platform.DISTRO == 'Unknown'
716
+ run : |
717
+ echo "NAME=Linux" > /etc/os-release
718
+ echo "ID=linux" >> /etc/os-release
719
+ echo "PRETTY_NAME=Linux" >> /etc/os-release
720
+
684
721
- uses : actions/checkout@v3
685
722
686
723
- uses : actions/download-artifact@v3
@@ -864,6 +901,10 @@ jobs:
864
901
with :
865
902
path : ./out
866
903
name : bindists-x86_64-linux-centos7
904
+ - uses : actions/download-artifact@v3
905
+ with :
906
+ path : ./out
907
+ name : bindists-x86_64-linux-unknown
867
908
- uses : actions/download-artifact@v3
868
909
with :
869
910
path : ./out
0 commit comments