Skip to content

CI validate-old-ghcs broken after haskell-actions/setup upgraded to node20 #9858

@andreasabel

Description

@andreasabel

The container for the "old ghcs" workflow uses a container phadej/ghc:8.8.4-xenial that does not support node20.

validate-old-ghcs:
name: Validate old ghcs ${{ matrix.extra-ghc }}
runs-on: ubuntu-latest
needs: validate
# This job needs an older ubuntu (16.04) cause
# the required old ghcs using the `-dyn` flavour
# are not installable from ppa/hvr in newer ones
# see https://github.com/haskell/cabal/issues/8011
container:
image: phadej/ghc:8.8.4-xenial

Since I bumped haskell-actions/setup to node20 the workflow fails, missing a recent glibc:
https://github.com/haskell/cabal/actions/runs/8496523229/job/23275396876#step:5:16

/__e/node20/bin/node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)

A short term solution would be to pin to haskell-actions/[email protected], however, GH will axe node16 in a couple of weeks, and then the problem will be back.

I'd rather axe GHC 7 validation.
E.g., for 7.0.4, less than 20% of the tests are actually run. Not much of a point, if you ask me.
https://github.com/haskell/cabal/actions/runs/8392859676/job/22990941034#step:8:455

532 tests, 436 skipped, 0 unexpected passes, 0 unexpected fails.

Or someone has to make a new container.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions