;ci: github: windows tweaks

This commit is contained in:
Simon Michael 2020-03-06 11:31:43 -08:00
parent 49b9913b8c
commit 5d419f8607

View File

@ -43,22 +43,16 @@ jobs:
# cached things
- name: Cache ~/.stack
- name: Cache C:\Users\runneradmin\AppData\Roaming\Programs\stack\
uses: actions/cache@v1
with:
path: ~/.stack
key: ${{ runner.os }}-stack
path: C:\Users\runneradmin\AppData\Local\Roaming\stack\
key: ${{ runner.os }}-appdata-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 }}-appdata-stack
- name: Cache $APPDATA/local/bin
uses: actions/cache@v1
with:
path: $APPDATA/local/bin
key: ${{ runner.os }}-local-bin
- name: Cache .stack-work
@ -111,8 +105,10 @@ jobs:
ls C:\Users\runneradmin\
ls C:\Users\runneradmin\AppData\
ls C:\Users\runneradmin\AppData\Local\
ls C:\Users\runneradmin\AppData\Local\Programs\
ls C:\Users\runneradmin\AppData\LocalLow\
ls C:\Users\runneradmin\AppData\Roaming\
ls C:\Users\runneradmin\AppData\Roaming\stack\
# - name: Install shelltestrunner
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
@ -133,8 +129,10 @@ jobs:
ls C:\Users\runneradmin\
ls C:\Users\runneradmin\AppData\
ls C:\Users\runneradmin\AppData\Local\
ls C:\Users\runneradmin\AppData\Local\Programs\
ls C:\Users\runneradmin\AppData\LocalLow\
ls C:\Users\runneradmin\AppData\Roaming\
ls C:\Users\runneradmin\AppData\Roaming\stack\
# run hledger-lib/hledger functional tests, skipping the ones for addons
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons