Skip to content

Bump CI to GHC 9.8 and latest versions of actions#573

Merged
kazu-yamamoto merged 3 commits intomasterfrom
ci-9.8
Mar 25, 2024
Merged

Bump CI to GHC 9.8 and latest versions of actions#573
kazu-yamamoto merged 3 commits intomasterfrom
ci-9.8

Conversation

@andreasabel
Copy link
Member

  • adjust testes GHC versions to latest 3 plus oldest (GHC 8.0)
  • bump actions to latest
  • use outputs {ghc,cabal}-version of haskell-actions/setup
  • bump stack lts to recommended

- adjust testes GHC versions to latest 3 plus oldest (GHC 8.0)
- bump actions to latest
- use outputs {ghc,cabal}-version of haskell-actions/setup
- bump stack lts to recommended
The container `ubuntu:22.10` does not seem to work anymore.

Also, why pin a version of `autoconf`?
Shouldn't we test with the native `autoconf` shipped with the OS?
@andreasabel
Copy link
Member Author

Windows build it broken, likely due to

autoconf:
runs-on: ubuntu-latest
container: ubuntu:22.10
# container: ubuntu:22.10
Copy link
Member Author

Choose a reason for hiding this comment

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

We could remove that line altogether.
If it is important that this CI run in a certain container, that should be justified here in a comment.

apt-get update -y -qq
apt-get install -y -qq build-essential autoconf${{ env.autoconf_ver }}
sudo apt-get update -y -qq
sudo apt-get install -y -qq build-essential autoconf${{ env.autoconf_ver }}
Copy link
Member Author

Choose a reason for hiding this comment

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

sudo is needed for installing on bare Linux runner.

matrix:
os: [ 'ubuntu-latest', 'macOS-latest', 'windows-latest' ]
ghc: [ '8.10', '9.0', '9.2', '9.4', '9.6' ]
ghc: [ '8.4', '9.4', '9.6', '9.8' ]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should '8.4' be '8.10'?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, the proposal here is to test

  • the latest 3 major GHCs, and
  • the oldest GHC that is supported cross all OSs.

The latter turned out to be GHC 8.4.

@kazu-yamamoto kazu-yamamoto self-requested a review March 25, 2024 07:37
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

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

Merge this first.
Then fix Windows.

@kazu-yamamoto kazu-yamamoto merged commit 04b1943 into master Mar 25, 2024
@kazu-yamamoto kazu-yamamoto deleted the ci-9.8 branch March 25, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants