Skip to content

Commit 947ef54

Browse files
committed
Remove distro support for things that need glibc <2.27
See actions/checkout#1809
1 parent 0e6a24d commit 947ef54

File tree

1 file changed

+1
-85
lines changed

1 file changed

+1
-85
lines changed

.github/workflows/release.yaml

+1-85
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,7 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
ghc: ["9.10.1", "9.8.2", "9.6.6", "9.6.5", "9.4.8", "9.2.8"]
32-
platform: [ { image: "debian:9"
33-
, installCmd: "sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list && sed -i /-updates/d /etc/apt/sources.list && apt-get update && apt-get install -y"
34-
, 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"
35-
, DISTRO: "Debian"
36-
, ARTIFACT: "x86_64-linux-deb9"
37-
, ADD_CABAL_ARGS: "--enable-split-sections"
38-
},
39-
{ image: "debian:10"
32+
platform: [ { image: "debian:10"
4033
, installCmd: "apt-get update && apt-get install -y"
4134
, 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"
4235
, DISTRO: "Debian"
@@ -64,13 +57,6 @@ jobs:
6457
, ARTIFACT: "x86_64-linux-alpine"
6558
, ADD_CABAL_ARGS: "--enable-split-sections"
6659
},
67-
{ image: "ubuntu:18.04"
68-
, installCmd: "apt-get update && apt-get install -y"
69-
, 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"
70-
, DISTRO: "Ubuntu"
71-
, ARTIFACT: "x86_64-linux-ubuntu18.04"
72-
, ADD_CABAL_ARGS: "--enable-split-sections"
73-
},
7460
{ image: "ubuntu:20.04"
7561
, installCmd: "apt-get update && apt-get install -y"
7662
, 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"
@@ -113,27 +99,13 @@ jobs:
11399
, ARTIFACT: "x86_64-linux-mint21.3"
114100
, ADD_CABAL_ARGS: "--enable-split-sections"
115101
},
116-
{ image: "fedora:27"
117-
, installCmd: "dnf install -y"
118-
, 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"
119-
, DISTRO: "Fedora"
120-
, ARTIFACT: "x86_64-linux-fedora27"
121-
, ADD_CABAL_ARGS: "--enable-split-sections"
122-
},
123102
{ image: "fedora:33"
124103
, installCmd: "dnf install -y"
125104
, 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"
126105
, DISTRO: "Fedora"
127106
, ARTIFACT: "x86_64-linux-fedora33"
128107
, ADD_CABAL_ARGS: "--enable-split-sections"
129108
},
130-
{ image: "centos:7"
131-
, installCmd: "sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && yum -y install epel-release && yum install -y"
132-
, 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"
133-
, DISTRO: "CentOS"
134-
, ARTIFACT: "x86_64-linux-centos7"
135-
, ADD_CABAL_ARGS: "--enable-split-sections"
136-
},
137109
{ image: "rockylinux:8"
138110
, installCmd: "yum -y install epel-release && yum install -y --allowerasing"
139111
, 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"
@@ -480,11 +452,6 @@ jobs:
480452
fail-fast: false
481453
matrix:
482454
include:
483-
- image: debian:9
484-
installCmd: sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list && sed -i /-updates/d /etc/apt/sources.list && apt-get update && apt-get install -y
485-
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
486-
DISTRO: Debian
487-
ARTIFACT: "x86_64-linux-deb9"
488455
- image: debian:10
489456
installCmd: apt-get update && apt-get install -y
490457
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
@@ -505,11 +472,6 @@ jobs:
505472
toolRequirements: "curl gcc g++ binutils binutils-gold coreutils bsd-compat-headers gmp-dev ncurses-dev libffi-dev make xz tar perl bash diffutils git gzip gnupg autoconf automake patchelf zlib zlib-dev bzip2 bzip2-dev findutils"
506473
DISTRO: "Alpine"
507474
ARTIFACT: "x86_64-linux-alpine"
508-
- image: ubuntu:18.04
509-
installCmd: apt-get update && apt-get install -y
510-
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
511-
DISTRO: Ubuntu
512-
ARTIFACT: "x86_64-linux-ubuntu18.04"
513475
- image: ubuntu:20.04
514476
installCmd: apt-get update && apt-get install -y
515477
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
@@ -525,21 +487,11 @@ jobs:
525487
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 libncurses6 libtinfo6 patchelf tree
526488
DISTRO: Ubuntu
527489
ARTIFACT: "x86_64-linux-ubuntu24.04"
528-
- image: fedora:27
529-
installCmd: dnf install -y
530-
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 tree
531-
DISTRO: Fedora
532-
ARTIFACT: "x86_64-linux-fedora27"
533490
- image: fedora:33
534491
installCmd: dnf install -y
535492
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 tree
536493
DISTRO: Fedora
537494
ARTIFACT: "x86_64-linux-fedora33"
538-
- image: centos:7
539-
installCmd: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && yum -y install epel-release && yum install -y
540-
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 tree
541-
DISTRO: CentOS
542-
ARTIFACT: "x86_64-linux-centos7"
543495
- image: linuxmintd/mint19.3-amd64
544496
installCmd: apt-get update && apt-get install -y
545497
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
@@ -877,11 +829,6 @@ jobs:
877829
fail-fast: false
878830
matrix:
879831
include:
880-
- image: debian:9
881-
installCmd: sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list && sed -i /-updates/d /etc/apt/sources.list && apt-get update && apt-get install -y
882-
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
883-
DISTRO: Debian
884-
ARTIFACT: "x86_64-linux-deb9"
885832
- image: debian:10
886833
installCmd: apt-get update && apt-get install -y
887834
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
@@ -902,11 +849,6 @@ jobs:
902849
toolRequirements: "curl gcc g++ binutils binutils-gold coreutils bsd-compat-headers gmp-dev ncurses-dev libffi-dev make xz tar perl bash diffutils git gzip gnupg autoconf automake patchelf tree zlib zlib-dev bzip2 bzip2-dev findutils"
903850
DISTRO: "Alpine"
904851
ARTIFACT: "x86_64-linux-alpine"
905-
- image: ubuntu:18.04
906-
installCmd: apt-get update && apt-get install -y
907-
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
908-
DISTRO: Ubuntu
909-
ARTIFACT: "x86_64-linux-ubuntu18.04"
910852
- image: ubuntu:20.04
911853
installCmd: apt-get update && apt-get install -y
912854
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
@@ -922,21 +864,11 @@ jobs:
922864
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 libncurses6 libtinfo6 patchelf tree
923865
DISTRO: Ubuntu
924866
ARTIFACT: "x86_64-linux-ubuntu24.04"
925-
- image: fedora:27
926-
installCmd: dnf install -y
927-
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 tree
928-
DISTRO: Fedora
929-
ARTIFACT: "x86_64-linux-fedora27"
930867
- image: fedora:33
931868
installCmd: dnf install -y
932869
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 tree
933870
DISTRO: Fedora
934871
ARTIFACT: "x86_64-linux-fedora33"
935-
- image: centos:7
936-
installCmd: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && yum -y install epel-release && yum install -y
937-
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 tree
938-
DISTRO: CentOS
939-
ARTIFACT: "x86_64-linux-centos7"
940872
- image: linuxmintd/mint19.3-amd64
941873
installCmd: apt-get update && apt-get install -y
942874
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
@@ -1175,10 +1107,6 @@ jobs:
11751107
- name: Checkout code
11761108
uses: actions/checkout@v3
11771109

1178-
- uses: actions/download-artifact@v3
1179-
with:
1180-
path: ./out
1181-
name: bindists-x86_64-linux-deb9
11821110
- uses: actions/download-artifact@v3
11831111
with:
11841112
path: ./out
@@ -1195,10 +1123,6 @@ jobs:
11951123
with:
11961124
path: ./out
11971125
name: bindists-x86_64-linux-alpine
1198-
- uses: actions/download-artifact@v3
1199-
with:
1200-
path: ./out
1201-
name: bindists-x86_64-linux-ubuntu18.04
12021126
- uses: actions/download-artifact@v3
12031127
with:
12041128
path: ./out
@@ -1211,18 +1135,10 @@ jobs:
12111135
with:
12121136
path: ./out
12131137
name: bindists-x86_64-linux-ubuntu24.04
1214-
- uses: actions/download-artifact@v3
1215-
with:
1216-
path: ./out
1217-
name: bindists-x86_64-linux-fedora27
12181138
- uses: actions/download-artifact@v3
12191139
with:
12201140
path: ./out
12211141
name: bindists-x86_64-linux-fedora33
1222-
- uses: actions/download-artifact@v3
1223-
with:
1224-
path: ./out
1225-
name: bindists-x86_64-linux-centos7
12261142
- uses: actions/download-artifact@v3
12271143
with:
12281144
path: ./out

0 commit comments

Comments
 (0)