mirror of
https://github.com/simonmichael/hledger.git
synced 2025-01-05 18:13:12 +03:00
;ci: github: windows: tweak caching
This commit is contained in:
parent
051fab84a2
commit
d19ea62297
11
.github/workflows/windows-nightly.yml
vendored
11
.github/workflows/windows-nightly.yml
vendored
@ -66,7 +66,6 @@ jobs:
|
||||
|
||||
# declare/restore cached things
|
||||
|
||||
|
||||
- name: Cache stack global db # downloaded ghcs, package indexes, third-party haskell deps
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
@ -130,7 +129,7 @@ jobs:
|
||||
|
||||
- name: Install GHC
|
||||
run: |
|
||||
stack --resolver=lts --no-terminal setup --install-ghc
|
||||
stack --no-terminal setup --install-ghc
|
||||
|
||||
# - name: Install shelltestrunner
|
||||
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
|
||||
@ -138,13 +137,13 @@ jobs:
|
||||
|
||||
- name: Install haskell deps
|
||||
run: |
|
||||
stack --resolver=lts --no-terminal build --test --only-dependencies
|
||||
# --bench --install-ghc
|
||||
stack --no-terminal build --test --only-dependencies
|
||||
# --bench --install-ghc
|
||||
|
||||
- name: Build hledger
|
||||
run: |
|
||||
stack --resolver=lts --no-terminal install --ghc-options=-Werror --test
|
||||
# --bench --no-run-benchmarks --haddock --no-haddock-deps
|
||||
stack P--no-terminal install --ghc-options=-Werror --test
|
||||
# --bench --no-run-benchmarks --haddock --no-haddock-deps
|
||||
|
||||
# run hledger-lib/hledger functional tests, skipping the ones for addons
|
||||
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
|
||||
|
Loading…
Reference in New Issue
Block a user