fix for GHC 9.10 #173
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Complete CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
nix_matrix: | |
strategy: | |
matrix: | |
# 88 is not in nixpkgs anymore | |
# 910 does not build yet for unknown reason | |
# We are not using nix build .#pyf_all because of github disk limitations | |
ghc: [86, 90, 92, 94, 96, 98] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cachix/install-nix-action@v21 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: guibou | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Builds cabal (nix) | |
- name: Build with GHC ${{ matrix.ghc }} | |
run: nix build .#pyf_${{ matrix.ghc }} | |
stack_build: | |
strategy: | |
matrix: | |
resolver: [ lts-14.27 # 8.6 | |
, lts-16.31 # 8.8 | |
, lts-17.1 # 8.10 | |
, lts-19.1 # 9.0 | |
, lts-20.26 # 9.2 | |
, lts-21.17 # 9.4 | |
, lts-22.22 # 9.6 | |
, nightly-2024-05-15 # 9.8 nightly | |
] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Stack | |
run: sudo apt-get install haskell-stack | |
- name: Stack resolver ${{ matrix.resolver }} | |
run: stack --resolver ${{ matrix.resolver }} test |