Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 9 additions & 54 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,50 +26,26 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.12.2', '9.10.1', '9.8.4', '9.6.7', '9.4.8', '9.2.8', '9.0.2']
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing all older GHCs from here, as those only have Buster based images that no longer build.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um, you could still use older bindists on newer debian. Worked for aarch64 before, must work for x86_64. anyway, it's beyond the scope of this PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think most of the haskell community is on ghc 9.6.7+.
I would prefer not adding older GHCs with newer debians unless there's popular demand for it.

deb: ['buster', 'slim-buster']
ghc: ['9.12.2', '9.10.2', '9.8.4', '9.6.7']
deb: ['bullseye', 'slim-bullseye']
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Buster is no longer buildable, switching the "default" debian to the next release which is still supported.

include:
- ghc: '9.12.2'
ghc_minor: '9.12'
deb: 'bookworm'
- ghc: '9.12.2'
ghc_minor: '9.12'
deb: 'slim-bookworm'
- ghc: '9.10.1'
- ghc: '9.10.2'
ghc_minor: '9.10'
deb: 'slim-bullseye'
- ghc: '9.10.1'
ghc_minor: '9.10'
deb: 'bullseye'
- ghc: '9.10.1'
ghc_minor: '9.10'
- ghc: '9.8.4'
ghc_minor: '9.8'
deb: 'slim-bullseye'
- ghc: '9.8.4'
ghc_minor: '9.8'
deb: 'bullseye'
- ghc: '9.8.4'
ghc_minor: '9.8'
- ghc: '9.6.7'
ghc_minor: '9.6'
deb: 'slim-bullseye'
- ghc: '9.6.7'
ghc_minor: '9.6'
deb: 'bullseye'
- ghc: '9.6.7'
ghc_minor: '9.6'
- ghc: '9.4.8'
ghc_minor: '9.4'
- ghc: '9.2.8'
ghc_minor: '9.2'
- ghc: '9.0.2'
ghc_minor: '9.0'
exclude:
- ghc: '9.12.2'
deb: 'buster'
deb: 'bullseye'
- ghc: '9.12.2'
deb: 'slim-buster'
deb: 'slim-bullseye'
steps:
- uses: actions/checkout@v4
- name: build + smoke test [${{ matrix.ghc }}]
Expand All @@ -96,9 +72,9 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.0.2', '9.2.8', '9.4.8', '9.6.7', '9.8.4', '9.10.1', '9.12.2']
ghc: ['9.6.7', '9.8.4', '9.10.2', '9.12.2']
# uraimo/run-on-arch-action does not support debian slim variants
deb: ['buster']
deb: ['bullseye']
arch: ['aarch64']
include:
# bookworm (debian 12)
Expand All @@ -108,39 +84,18 @@ jobs:
arch: 'aarch64'
docker_platform: arm64
# bullseye (debian 11)
- ghc: '9.10.1'
- ghc: '9.10.2'
ghc_minor: '9.10'
deb: 'bullseye'
arch: 'aarch64'
docker_platform: arm64
- ghc: '9.8.4'
ghc_minor: '9.8'
deb: 'bullseye'
arch: 'aarch64'
docker_platform: arm64
- ghc: '9.6.7'
ghc_minor: '9.6'
deb: 'bullseye'
arch: 'aarch64'
docker_platform: arm64
# buster (debian 10)
- ghc: '9.10.1'
ghc_minor: '9.10'
- ghc: '9.8.4'
ghc_minor: '9.8'
- ghc: '9.6.7'
ghc_minor: '9.6'
- ghc: '9.4.8'
ghc_minor: '9.4'
- ghc: '9.2.8'
ghc_minor: '9.2'
- ghc: '9.0.2'
ghc_minor: '9.0'
- arch: aarch64
docker_platform: arm64
exclude:
- ghc: '9.12.2'
deb: 'buster'
deb: 'bullseye'

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions 9.10/bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ RUN set -eux; \
\
cabal --version

ARG GHC=9.10.1
ARG GHC_RELEASE_KEY=FFEB7CE81E16A36B3E2DED6F2DE04D4E97DB64AD
ARG GHC=9.10.2
ARG GHC_RELEASE_KEY=88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4

RUN set -eux; \
cd /tmp; \
Expand All @@ -104,10 +104,10 @@ RUN set -eux; \
# sha256 from https://downloads.haskell.org/~ghc/$GHC/SHA256SUMS
case "$ARCH" in \
'aarch64') \
GHC_SHA256='1db449c445d34779d4deaba22341576f7b512a05b6c2b5cb64f3846d1509714e'; \
GHC_SHA256='0188ca098abdaf71eb0804d0f35311f405da489137d8d438bfaa43b8d1e3f1b0'; \
;; \
'x86_64') \
GHC_SHA256='78975575b8125ecf1f50f78b1016b14ea6e87abbf1fc39797af469d029c5d737'; \
GHC_SHA256='2fe2c3e0a07e4782530e8bf83eeda8ff6935e40d5450c1809abcdc6182c9c848'; \
;; \
*) echo >&2 "error: unsupported architecture '$ARCH'" ; exit 1 ;; \
esac; \
Expand Down
8 changes: 4 additions & 4 deletions 9.10/slim-bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ RUN set -eux; \
\
cabal --version

ARG GHC=9.10.1
ARG GHC_RELEASE_KEY=FFEB7CE81E16A36B3E2DED6F2DE04D4E97DB64AD
ARG GHC=9.10.2
ARG GHC_RELEASE_KEY=88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4

RUN set -eux; \
cd /tmp; \
Expand All @@ -104,10 +104,10 @@ RUN set -eux; \
# sha256 from https://downloads.haskell.org/~ghc/$GHC/SHA256SUMS
case "$ARCH" in \
'aarch64') \
GHC_SHA256='1db449c445d34779d4deaba22341576f7b512a05b6c2b5cb64f3846d1509714e'; \
GHC_SHA256='0188ca098abdaf71eb0804d0f35311f405da489137d8d438bfaa43b8d1e3f1b0'; \
;; \
'x86_64') \
GHC_SHA256='78975575b8125ecf1f50f78b1016b14ea6e87abbf1fc39797af469d029c5d737'; \
GHC_SHA256='2fe2c3e0a07e4782530e8bf83eeda8ff6935e40d5450c1809abcdc6182c9c848'; \
;; \
*) echo >&2 "error: unsupported architecture '$ARCH'" ; exit 1 ;; \
esac; \
Expand Down
Loading