mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;ci: github: windows tweaks
This commit is contained in:
parent
1fb6fbe807
commit
3909b76a20
36
.github/workflows/windows-ci.yml
vendored
36
.github/workflows/windows-ci.yml
vendored
@ -49,23 +49,11 @@ jobs:
|
||||
path: ~/.stack
|
||||
key: ${{ runner.os }}-stack
|
||||
|
||||
# - name: Cache %APPDATA%/.stack
|
||||
# uses: actions/cache@v1
|
||||
# with:
|
||||
# path: %APPDATA%/.stack
|
||||
# key: ${{ runner.os }}-stack
|
||||
|
||||
- name: Cache $APPDATA/.stack
|
||||
- name: Cache C:\Users\runneradmin\AppData\Local\Programs\stack\
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: $APPDATA/.stack
|
||||
key: ${{ runner.os }}-stack
|
||||
|
||||
# - name: Cache %APPDATA%/local/bin
|
||||
# uses: actions/cache@v1
|
||||
# with:
|
||||
# path: %APPDATA%/local/bin
|
||||
# key: ${{ runner.os }}-local-bin
|
||||
path: C:\Users\runneradmin\AppData\Local\Programs\stack\
|
||||
key: ${{ runner.os }}-appdata-stack
|
||||
|
||||
- name: Cache $APPDATA/local/bin
|
||||
uses: actions/cache@v1
|
||||
@ -114,9 +102,17 @@ jobs:
|
||||
7z x stack.zip -oC:\Windows stack.exe
|
||||
stack --version
|
||||
|
||||
- name: Show stuff
|
||||
run: |
|
||||
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\Local\Programs\stack
|
||||
|
||||
- name: Install GHC
|
||||
run: |
|
||||
stack --resolver=lts setup
|
||||
stack --resolver=lts --no-terminal setup
|
||||
|
||||
# - name: Install shelltestrunner
|
||||
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
|
||||
@ -124,13 +120,13 @@ jobs:
|
||||
|
||||
- name: Install haskell deps
|
||||
run: |
|
||||
stack --resolver=lts test --only-dependencies
|
||||
# --no-terminal --bench --install-ghc
|
||||
stack --resolver=lts --no-terminal test --only-dependencies
|
||||
# --bench --install-ghc
|
||||
|
||||
- name: Build hledger
|
||||
run: |
|
||||
stack --resolver=lts install --ghc-options=-Werror --test
|
||||
# --no-terminal --bench --no-run-benchmarks --haddock --no-haddock-deps
|
||||
stack --resolver=lts --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