Skip to content

Commit 6e5f42c

Browse files
authored
Merge branch 'haskell:master' into smunix-patch-1
2 parents a2a84d4 + 1edb489 commit 6e5f42c

File tree

81 files changed

+1163
-392
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1163
-392
lines changed

.github/actions/setup-build/action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
sudo chown -R $USER /usr/local/.ghcup
3232
shell: bash
3333

34-
- uses: haskell/actions/setup@v2.3.6
34+
- uses: haskell/actions/setup@v2.4.1
3535
id: HaskEnvSetup
3636
with:
3737
ghc-version : ${{ inputs.ghc }}
@@ -50,12 +50,6 @@ runs:
5050
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
5151
shell: bash
5252

53-
- if: inputs.os == 'Windows' && inputs.ghc == '8.8.4'
54-
name: (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults
55-
run: |
56-
echo -e 'package floskell\n ghc-options: -O0' >> cabal.project.local
57-
shell: bash
58-
5953
# Shorten binary names as a workaround for filepath length limits in Windows,
6054
# but since tests are hardcoded on this workaround all platforms need it.
6155
# All workflows which distinguishes cache on `cabal.project` needs this.

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ updates:
99
directory: "/"
1010
schedule:
1111
interval: "weekly"
12+
13+
- package-ecosystem: "github-actions"
14+
directory: ".github/actions/setup-build"
15+
schedule:
16+
interval: "weekly"

.github/scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ env
5454

5555
# ensure ghcup
5656
install_ghcup
57-
ghcup install ghc --set 9.4.4
57+
ghcup install ghc --set 9.4.5
5858

5959
(cd .. && ecabal update) # run cabal update outside project dir
6060

.github/workflows/bench.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
matrix:
4949
ghc:
5050
- '8.10.7'
51-
- '9.2.5'
51+
- '9.2.7'
5252
os:
5353
- ubuntu-latest
5454

@@ -115,13 +115,13 @@ jobs:
115115
strategy:
116116
fail-fast: false
117117
matrix:
118-
ghc: ['8.10.7', '9.2.5']
118+
ghc: ['8.10.7', '9.2.7']
119119
os: [ubuntu-latest]
120120
cabal: ['3.6']
121121
example: ['cabal', 'lsp-types']
122122

123123
steps:
124-
- uses: haskell/actions/setup@v2.3.7
124+
- uses: haskell/actions/setup@v2.4.1
125125
with:
126126
ghc-version : ${{ matrix.ghc }}
127127
cabal-version: ${{ matrix.cabal }}

.github/workflows/flags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe ekg"
7777

7878
# we have to clean up warnings for 9.0 and 9.2 before enable -Wall
79-
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.5'
79+
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.7'
8080
name: Build with pedantic (-WError)
8181
run: cabal v2-build --flags="pedantic"
8282

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: ./.github/actions/setup-build
2828
with:
2929
# select a stable GHC version
30-
ghc: 9.2.5
30+
ghc: 9.2.7
3131
os: ${{ runner.os }}
3232
shorten-hls: false
3333

.github/workflows/release.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
ghc: ["9.6.1", "9.4.4", "9.2.7", "9.0.2", "8.10.7"]
28+
ghc: ["9.6.1", "9.4.5", "9.2.7", "9.0.2", "8.10.7"]
2929
platform: [ { image: "debian:9"
30-
, installCmd: "apt-get update && apt-get install -y"
30+
, 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"
3131
, 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"
3232
, DISTRO: "Debian"
3333
, ARTIFACT: "x86_64-linux-deb9"
@@ -105,15 +105,15 @@ jobs:
105105
}
106106
]
107107
# TODO: rm
108-
# we need a different image for 9.4.4, because GHC bindists are busted
108+
# we need a different image for 9.4.5, because GHC bindists are busted
109109
include:
110110
- ghc: 8.10.7
111111
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", 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", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
112112
- ghc: 9.0.2
113113
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", 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", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
114114
- ghc: 9.2.7
115115
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", 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", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
116-
- ghc: 9.4.4
116+
- ghc: 9.4.5
117117
platform: { image: "fedora:33", installCmd: "dnf install -y", 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", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
118118
- ghc: 9.6.1
119119
platform: { image: "rockylinux:8", installCmd: "yum -y install epel-release && yum install -y --allowerasing", 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", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
@@ -171,7 +171,7 @@ jobs:
171171
strategy:
172172
fail-fast: true
173173
matrix:
174-
ghc: ["9.6.1","9.4.4", "9.2.7", "9.0.2", "8.10.7"]
174+
ghc: ["9.6.1","9.4.5", "9.2.7", "9.0.2", "8.10.7"]
175175
steps:
176176
- uses: docker://arm64v8/ubuntu:focal
177177
name: Cleanup (aarch64 linux)
@@ -212,7 +212,7 @@ jobs:
212212
213213
build-mac-x86_64:
214214
name: Build binary (Mac x86_64)
215-
runs-on: macOS-10.15
215+
runs-on: macOS-11
216216
env:
217217
MACOSX_DEPLOYMENT_TARGET: 10.13
218218
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -226,7 +226,7 @@ jobs:
226226
strategy:
227227
fail-fast: false
228228
matrix:
229-
ghc: ["9.6.1", "9.4.4", "9.2.7", "9.0.2", "8.10.7"]
229+
ghc: ["9.6.1", "9.4.5", "9.2.7", "9.0.2", "8.10.7"]
230230
steps:
231231
- name: Checkout code
232232
uses: actions/checkout@v3
@@ -266,7 +266,7 @@ jobs:
266266
strategy:
267267
fail-fast: false
268268
matrix:
269-
ghc: ["9.6.1", "9.4.4", "9.2.7", "8.10.7"]
269+
ghc: ["9.6.1", "9.4.5", "9.2.7", "8.10.7"]
270270
steps:
271271
- name: Checkout code
272272
uses: actions/checkout@v3
@@ -315,7 +315,7 @@ jobs:
315315
strategy:
316316
fail-fast: false
317317
matrix:
318-
ghc: ["9.6.1", "9.4.4", "9.2.7", "9.0.2", "8.10.7"]
318+
ghc: ["9.6.1", "9.4.5", "9.2.7", "9.0.2", "8.10.7"]
319319
steps:
320320
- name: install windows deps
321321
shell: pwsh
@@ -362,7 +362,7 @@ jobs:
362362
matrix:
363363
include:
364364
- image: debian:9
365-
installCmd: apt-get update && apt-get install -y
365+
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
366366
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
367367
DISTRO: Debian
368368
ARTIFACT: "x86_64-linux-deb9"
@@ -519,7 +519,7 @@ jobs:
519519

520520
bindist-mac-x86_64:
521521
name: Tar bindists (Mac x86_64)
522-
runs-on: macOS-10.15
522+
runs-on: macOS-11
523523
needs: ["build-mac-x86_64"]
524524
env:
525525
TARBALL_EXT: tar.xz
@@ -657,7 +657,7 @@ jobs:
657657
matrix:
658658
include:
659659
- image: debian:9
660-
installCmd: apt-get update && apt-get install -y
660+
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
661661
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
662662
DISTRO: Debian
663663
ARTIFACT: "x86_64-linux-deb9"
@@ -780,7 +780,7 @@ jobs:
780780

781781
test-mac-x86_64:
782782
name: Test binary (Mac x86_64)
783-
runs-on: macOS-10.15
783+
runs-on: macOS-11
784784
needs: ["bindist-mac-x86_64"]
785785
env:
786786
MACOSX_DEPLOYMENT_TARGET: 10.13
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[ "9.6.1", "9.4.4" , "9.2.5" , "9.0.2" , "8.10.7" ]
1+
[ "9.6.1", "9.4.5" , "9.2.7" , "9.0.2" , "8.10.7" ]

0 commit comments

Comments
 (0)