Skip to content

Commit

Permalink
Switch CI to GHC 8.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrBliss committed Oct 7, 2020
1 parent ffdbf71 commit 720478f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: "Haddocks"
runs-on: ubuntu-18.04
container:
image: phadej/ghc:8.6.5-bionic
image: phadej/ghc:8.10.2-bionic
steps:
- name: set PATH
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.cabal/store
key: cabal-store-8.6.5
key: cabal-store-8.10.2
- name: Update Hackage index
run: cabal v2-update

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ on: [push]
# ``

jobs:
test-windows-8_6_5:
name: "Windows GHC-8.6.5"
test-windows-8_10_2:
name: "Windows GHC-8.10.2"
runs-on: windows-latest
steps:
- name: Install GHC
run: |
choco install -y ghc --version 8.6.5 --allow-downgrade
choco install -y ghc --version 8.10.2 --allow-downgrade
- name: Print version
run: |
cabal --version
Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/cache@v1
with:
path: C:\SR
key: cabal-store-8.6.5
key: cabal-store-8.10.2
# Cache parts of dist-newstyle (C:\dist)
- name: cache buiddir [cache]
uses: actions/cache@v1
Expand Down
4 changes: 2 additions & 2 deletions cabal.project.local.ci.windows
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
with-compiler: C:\\ProgramData\\chocolatey\\lib\\ghc.8.6.5\\tools\\ghc-8.6.5\\bin\\ghc
with-compiler: C:\\ProgramData\\chocolatey\\lib\\ghc.8.10.2\\tools\\ghc-8.10.2\\bin\\ghc
tests: True

max-backjumps: 5000
reorder-goals: True

package Win32-network
ghc-options: -Werror
ghc-options: -Werror
flags: +demo

package ntp-client
Expand Down
2 changes: 1 addition & 1 deletion nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, buildPackages
, config ? {}
# GHC attribute name
, compiler ? config.haskellNix.compiler or "ghc865"
, compiler ? config.haskellNix.compiler or "ghc8102"
# Enable profiling
, profiling ? config.haskellNix.profiling or false
, libsodium ? pkgs.libsodium
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

# install work environment
choco install -y ghc --version 8.6.5
choco install -y ghc --version 8.10.2
choco install -y git
choco install -y firefox

0 comments on commit 720478f

Please sign in to comment.