Skip to content

Drop old MacOS jobs #319

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 6 commits into from
May 1, 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
29 changes: 23 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,27 @@ jobs:
matrix:
os: [ubuntu-22.04, macOS-latest]
ghc: ['9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6']
exclude:
- os: macos-latest
ghc: '9.0'
- os: macos-latest
ghc: '8.10'
- os: macos-latest
ghc: '8.8'
- os: macos-latest
ghc: '8.6'
- os: macos-latest
ghc: '8.4'
steps:
- uses: actions/checkout@v4
- name: Setup toolchain
run: |
which ghcup
ghcup install cabal recommended
ghcup install ghc --set ${{ matrix.ghc }}
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 BOOTSTRAP_HASKELL_GHC_VERSION=${{ matrix.ghc }} BOOTSTRAP_HASKELL_ADJUST_BASHRC=yes sh

- if: runner.os == 'macOS'
name: install system deps via brew
run: brew install coreutils autoconf automake

- uses: actions/cache@v4
name: Cache cabal stuff
with:
Expand All @@ -33,6 +47,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Build
run: |
. ~/.ghcup/env
ghc --version
cabal --version
cabal update
Expand All @@ -43,7 +58,9 @@ jobs:
cd unix-*/
cabal test all --test-show-details=direct
- name: Haddock
run: cabal haddock --disable-documentation
run: |
. ~/.ghcup/env
cabal haddock --disable-documentation

centos7:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -139,9 +156,9 @@ jobs:
matrix:
include:
- os: [self-hosted, FreeBSD, X64]
ghc: 9.4.8
ghc: 9.4
- os: [self-hosted, FreeBSD, X64]
ghc: 9.6.4
ghc: 9.6
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
Loading