@@ -102,6 +102,13 @@ jobs:
102102 , DISTRO: "CentOS"
103103 , ARTIFACT: "x86_64-linux-centos7"
104104 , 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"
105112 }
106113 ]
107114 container :
@@ -111,7 +118,15 @@ jobs:
111118 shell : sh
112119 run : |
113120 ${{ 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+
114128 - uses : actions/checkout@v3
129+
115130 - name : Run build
116131 run : |
117132 bash .github/scripts/build.sh
@@ -385,6 +400,11 @@ jobs:
385400 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
386401 DISTRO : Mint
387402 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"
388408 - image : linuxmintd/mint20.2-amd64
389409 installCmd : apt-get update && apt-get install -y
390410 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:
398418 run : |
399419 ${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }}
400420
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+
401427 - uses : actions/checkout@v3
402428
403429 - uses : actions/download-artifact@v3
@@ -668,6 +694,11 @@ jobs:
668694 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
669695 DISTRO : Mint
670696 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"
671702 - image : linuxmintd/mint20.2-amd64
672703 installCmd : apt-get update && apt-get install -y
673704 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:
681712 run : |
682713 ${{ matrix.installCmd }} curl bash git ${{ matrix.toolRequirements }}
683714
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+
684721 - uses : actions/checkout@v3
685722
686723 - uses : actions/download-artifact@v3
@@ -861,6 +898,10 @@ jobs:
861898 with :
862899 path : ./out
863900 name : bindists-x86_64-linux-centos7
901+ - uses : actions/download-artifact@v3
902+ with :
903+ path : ./out
904+ name : bindists-x86_64-linux-unknown
864905 - uses : actions/download-artifact@v3
865906 with :
866907 path : ./out
0 commit comments