Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Use Stackage LTS 13.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scholtes committed Mar 7, 2019
1 parent 63c64c7 commit 30ee6c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Expand Up @@ -37,10 +37,11 @@ jobs:
command -v stack || {
curl -sSL https://get.haskellstack.org/ | sh
stack config set system-ghc --global true
stack config set install-ghc --global false
}
stack config set system-ghc --global true
stack config set install-ghc --global false
echo 'export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"' >> $BASH_ENV
- save_cache:
Expand All @@ -64,10 +65,9 @@ jobs:

- restore_cache:
keys:
- stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
- stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}
- stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-
- stack-root-v2-{{ arch }}-ghc8.6.3-
- stack-root-v4-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
- stack-root-v4-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}
- stack-root-v4-{{ arch }}-ghc8.6.3-

- run:
name: Build Dependencies
Expand All @@ -82,7 +82,7 @@ jobs:
rm -rf ~/.stack/indices/Hackage/00-index.tar*
- save_cache:
key: stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
key: stack-root-v4-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
paths:
- "~/.stack"

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci.sh
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

dependency_hash=$( (cat package.yaml; cat snapshot.yaml) | sha256sum | cut -d ' ' -f 1)

remote="gs://radicle-build-cache/v4"
remote="gs://radicle-build-cache/v5"

local_cache_archive="stack-root.tar.gz"
remote_cache_master="$remote/stack-root-master.tar.gz"
Expand Down
4 changes: 2 additions & 2 deletions snapshot.yaml
Expand Up @@ -5,8 +5,8 @@
#
# See https://docs.haskellstack.org/en/stable/custom_snapshot/
#
name: radicle-deps-13.2
resolver: lts-13.2
name: radicle-deps-13.10
resolver: lts-13.10

packages:
- base58-bytestring-0.1.0@sha256:a1da72ee89d5450bac1c792d9fcbe95ed7154ab7246f2172b57bd4fd9b5eab79
Expand Down

0 comments on commit 30ee6c5

Please sign in to comment.