;ci: github: windows tweaks

This commit is contained in:
Simon Michael 2020-03-06 11:34:48 -08:00
parent 5d419f8607
commit 73f2b87f94

View File

@ -47,13 +47,13 @@ jobs:
uses: actions/cache@v1
with:
path: C:\Users\runneradmin\AppData\Local\Roaming\stack\
key: ${{ runner.os }}-appdata-stack
key: ${{ runner.os }}-appdata-local-roaming-stack
- name: Cache C:\Users\runneradmin\AppData\Local\Programs\stack\
uses: actions/cache@v1
with:
path: C:\Users\runneradmin\AppData\Local\Programs\stack\
key: ${{ runner.os }}-local-bin
key: ${{ runner.os }}-appdata-local-programs-stack
- name: Cache .stack-work
uses: actions/cache@v1
@ -109,6 +109,7 @@ jobs:
ls C:\Users\runneradmin\AppData\LocalLow\
ls C:\Users\runneradmin\AppData\Roaming\
ls C:\Users\runneradmin\AppData\Roaming\stack\
ls C:\Users\runneradmin\AppData\Roaming\stack\x86_64-windows\
# - name: Install shelltestrunner
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
@ -124,7 +125,7 @@ jobs:
stack --resolver=lts --no-terminal install --ghc-options=-Werror --test
# --bench --no-run-benchmarks --haddock --no-haddock-deps
- name: Show stuff 2
- name: Show stuff
run: |
ls C:\Users\runneradmin\
ls C:\Users\runneradmin\AppData\
@ -133,6 +134,7 @@ jobs:
ls C:\Users\runneradmin\AppData\LocalLow\
ls C:\Users\runneradmin\AppData\Roaming\
ls C:\Users\runneradmin\AppData\Roaming\stack\
ls C:\Users\runneradmin\AppData\Roaming\stack\x86_64-windows\
# run hledger-lib/hledger functional tests, skipping the ones for addons
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons