Unverified Commit 8ad70d30 authored by Oleg Grenrus's avatar Oleg Grenrus Committed by GitHub
Browse files

Merge pull request #7243 from phadej/win-8.10.3-job

Add GHC-8.10.3 Windows CI job
parents 6207f27c 4f9a9f2a
......@@ -168,3 +168,53 @@ jobs:
- name: cabal-tests
# Using only one job, -j1, to fail less.
run: cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.10.2\cabal-install-3.5.0.0\x\cabal\build\cabal\cabal.exe
test-windows-8_10_3:
name: test ghc-8.10.3
runs-on: windows-latest
steps:
- uses: actions/setup-haskell@v1.1.4
with:
ghc-version: '8.10.3'
cabal-version: '3.2.0.0'
- name: Print versions
run: |
[Environment]::GetEnvironmentVariable("Path")
cabal --version
ghc --version
cabal user-config init -a "http-transport: plain-http" -a "store-dir: C:\SR" -f -v3
- uses: actions/cache@v1
with:
path: C:\SR
key: windows-store-meta
- name: Update Hackage index
run: cabal v2-update
- uses: actions/checkout@v2
- name: make cabal-install-dev
run: cp cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal
# We cannot ask for all dependencies, but we can for Cabal.
- name: cabal v2-build Cabal --only-dependencies
run: cabal v2-build Cabal --only-dependencies
- name: cabal v2-build
run: cabal v2-build all
- name: Cabal unit-tests
run: |
cabal v2-test Cabal-tests
- name: cabal-install memory-usage-tests
run: |
cd cabal-install
cabal v2-run cabal-install:memory-usage-tests
- name: cabal-install solver-quickcheck
run: |
cd cabal-install
cabal v2-run cabal-install:solver-quickcheck
- name: cabal-install integration-tests2
run: |
cd cabal-install
cabal v2-run cabal-install:integration-tests2
- name: cabal-install unit-tests
run: |
cd cabal-install
cabal v2-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
- name: cabal-tests
# Using only one job, -j1, to fail less.
run: cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.10.3\cabal-install-3.5.0.0\x\cabal\build\cabal\cabal.exe
......@@ -51,6 +51,7 @@ main = do
[ mkWinGhcJob "8.6.5" Nothing []
, mkWinGhcJob "8.8.4" (Just "8.8.4.1") []
, mkWinGhcJob "8.10.2" (Just "8.10.2.2") []
, mkWinGhcJob "8.10.3" (Just "8.10.3") []
]
, zMangleVersion = map mangleChar
, zOr = (||)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment