Skip to content

Bump CI to GHC 9.8 and latest actions #315

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

Merged
merged 3 commits into from
Mar 22, 2024
Merged
Changes from all 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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-22.04, macOS-latest]
ghc: ['9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6']
ghc: ['9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup toolchain
run: |
which ghcup
ghcup install cabal recommended
ghcup install ghc --set ${{ matrix.ghc }}
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Cache cabal stuff
with:
path: |
Expand All @@ -43,7 +43,7 @@ jobs:
cd unix-*/
cabal test all --test-show-details=direct
- name: Haddock
run: cabal haddock
run: cabal haddock --disable-documentation

centos7:
runs-on: ubuntu-latest
Expand All @@ -55,6 +55,7 @@ jobs:
yum install -y gcc gmp gmp-devel make ncurses ncurses-compat-libs xz perl autoconf
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.2.8 sh
- uses: actions/checkout@v3
# actions/checkout@v4 (using node20) does not run on image: centos:7
- name: Test
run: |
source ~/.ghcup/env
Expand All @@ -73,7 +74,7 @@ jobs:
run: |
dnf install -y gcc gmp gmp-devel make ncurses ncurses-compat-libs xz perl autoconf
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test
run: |
source ~/.ghcup/env
Expand Down Expand Up @@ -117,7 +118,7 @@ jobs:
args: "find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- if: matrix.arch == 'arm32v7'
uses: docker://hasufell/arm32v7-ubuntu-haskell:focal
Expand All @@ -130,4 +131,3 @@ jobs:
name: Run build (arm64v8 linux)
with:
args: sh -c "cabal update && autoreconf -i && cabal test all --test-show-details=direct"

Loading