-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump CI to GHC 9.8 and latest versions of actions #573
Conversation
andreasabel
commented
Mar 22, 2024
- 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?
Reason: hsc2hs does not build there.
Windows build it broken, likely due to |
|
||
jobs: | ||
autoconf: | ||
runs-on: ubuntu-latest | ||
container: ubuntu:22.10 | ||
# container: ubuntu:22.10 |
There was a problem hiding this comment.
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 }} |
There was a problem hiding this comment.
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.
@@ -67,50 +67,48 @@ jobs: | |||
fail-fast: false | |||
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' ] |
There was a problem hiding this comment.
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'?
There was a problem hiding this comment.
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.
There was a problem hiding this 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.