Skip to content

Commit

Permalink
Use cabal.project and stack.yaml by default
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Jul 20, 2021
1 parent 43892d6 commit 2bf923d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ env: &env
#STACKVER: "1.6.5"
#STACK_UPGRADE: "y"
#RESOLVER: "lts-12"
STACK_YAML: "stack.yaml"

# ------------------------------------------------------------------------
# cabal options
# ------------------------------------------------------------------------
CABAL_CHECK_RELAX: "y"
CABAL_HACKAGE_MIRROR: "hackage.haskell.org:http://hackage.fpcomplete.com"
CABAL_PROJECT: "cabal.project"

# ------------------------------------------------------------------------
# Where to find the required tools
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/packcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
${{ matrix.command }}
${{ matrix.runner }}
${{ matrix.ghc_version }}
${{ matrix.stack_resolver }}
env:
# ------------------------------------------------------------------------
# Common options
Expand All @@ -50,7 +49,7 @@ jobs:
# Selecting tool versions
# ------------------------------------------------------------------------
GHCVER: ${{ matrix.ghc_version }}
RESOLVER: ${{ matrix.stack_resolver }}
# RESOLVER: ${{ matrix.stack_resolver }}

# ------------------------------------------------------------------------
# stack options
Expand All @@ -60,12 +59,14 @@ jobs:
# version.
#STACKVER: "1.6.5"
#STACK_UPGRADE: "y"
STACK_YAML: "stack.yaml"

# ------------------------------------------------------------------------
# cabal options
# ------------------------------------------------------------------------
CABAL_CHECK_RELAX: y
CABAL_HACKAGE_MIRROR: "hackage.haskell.org:http://hackage.fpcomplete.com"
CABAL_PROJECT: "cabal.project"

# ------------------------------------------------------------------------
# Where to find the required tools
Expand Down Expand Up @@ -120,7 +121,6 @@ jobs:
include:
# Additional ci matrix elements
# - name: ci
# stack_resolver: lts-18.2
# command: stack
# runner: ubuntu-latest

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
~/.ghc
~/.local
~/.stack
key: ${{ matrix.ghc_version }}-${{ matrix.stack_resolver }}-${{ matrix.runner }}
key: ${{ matrix.command }}-${{ matrix.ghc_version }}-${{ matrix.runner }}

- name: Download packcheck
run: |
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ env:
# version.
#- STACKVER="1.6.5"
- STACK_UPGRADE="y"
- STACK_YAML="stack.yaml"

# ------------------------------------------------------------------------
# cabal options
# ------------------------------------------------------------------------
- CABAL_CHECK_RELAX=y
- CABAL_HACKAGE_MIRROR=hackage.haskell.org:http://hackage.fpcomplete.com
- CABAL_PROJECT="cabal.project"

# ------------------------------------------------------------------------
# Where to find the required tools
Expand Down
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ environment:
# version.
#STACKVER: "1.6.5"
STACK_UPGRADE: "y"
RESOLVER: "lts-15"
# RESOLVER: "lts-15"
STACK_ROOT: "c:\\sr"
STACK_YAML: "stack.yaml"

# ------------------------------------------------------------------------
# cabal options
# ------------------------------------------------------------------------
CABAL_CHECK_RELAX: "y"
CABAL_HACKAGE_MIRROR: "hackage.haskell.org:http://hackage.fpcomplete.com"
CABAL_PROJECT: "cabal.project"

# ------------------------------------------------------------------------
# Where to find the required tools
Expand Down

0 comments on commit 2bf923d

Please sign in to comment.