Skip to content
Snippets Groups Projects
Commit 13092721 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

try windows

parent 2a41ce18
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,11 @@ jobs:
build:
strategy:
matrix:
os: ['ubuntu-18.04','macOS-10.14','windows-latest']
os:
#- 'ubuntu-18.04'
#- 'macOS-10.14'
- 'windows-latest'
ghc: ['8.6.5','8.0.2']
runs-on: ${{ matrix.os }}
......@@ -27,7 +31,7 @@ jobs:
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-store-3.0
- name: "Build (Linux)"
if: matrix.os == 'ubuntu-18.04'
if: runner.os == 'Linux-18.04'
env:
GHCVER: ${{ matrix.ghc }}
run: |
......@@ -37,4 +41,18 @@ jobs:
ghc --version
cabal update -v3
cabal v2-build -w ghc-${GHCVER} all
- name: "Build (Windows)"
if: runner.os == 'Windows'
env:
GHCVER: ${{ matrix.ghc }}
# NB: On Windows the default shell is pwsh
run: |
choco install -y cabal --version 3.0.0.0
choco install -y ghc --version ${env:GHCVER}
cabal --version
ghc --version
cabal update -v3
cabal v2-build -w ghc-${env:GHCVER} all
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment