mirror of
https://github.com/haskell/ghcide.git
synced 2024-09-11 05:36:09 +03:00
27b4250bb2
* Extend CI matrix with all the GHC minor versions supported by HLS * Adding a new job for windows: ghc-8.10.2.2 * Use GADTs for all ghc versions in Development.IDE.Plugin.Completions.Logic * Fix ghc-8.8.2 and ghc-8.8.3 builds Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
24 lines
600 B
YAML
24 lines
600 B
YAML
name: Nix
|
|
|
|
on: [pull_request]
|
|
jobs:
|
|
nix:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
ghc: ['default', 'ghc8102', 'ghc884', 'ghc865']
|
|
os: [ubuntu-latest, macOS-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cachix/install-nix-action@v12
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-20.03
|
|
- uses: cachix/cachix-action@v7
|
|
with:
|
|
name: haskell-ghcide
|
|
signingKey: '${{ secrets.GHCIDE_CACHIX_SIGNING_KEY }}'
|
|
- run: nix-shell --argstr compiler ${{ matrix.ghc }} --run "cabal update && cabal build"
|