;ci: github: windows: tweak caching
This commit is contained in:
parent
5e96ae8224
commit
4abeae5eeb
14
.github/workflows/windows-nightly.yml
vendored
14
.github/workflows/windows-nightly.yml
vendored
@ -122,8 +122,8 @@ jobs:
|
|||||||
|
|
||||||
# actions
|
# actions
|
||||||
|
|
||||||
- name: Add stack local bin to PATH
|
# - name: Add stack local bin to PATH
|
||||||
run: echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
# run: echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
||||||
|
|
||||||
- name: Install stack
|
- name: Install stack
|
||||||
if: steps.stack-local-bin-dir.outputs.cache-hit != 'true'
|
if: steps.stack-local-bin-dir.outputs.cache-hit != 'true'
|
||||||
@ -134,9 +134,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Install GHC
|
- name: Install GHC
|
||||||
if: steps.stack-global-db.outputs.cache-hit != 'true'
|
if: steps.stack-global-db.outputs.cache-hit != 'true'
|
||||||
|
# echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
C:\Users\runneradmin\AppData\Roaming\stack\local\bin\stack --no-terminal setup --install-ghc
|
||||||
stack --no-terminal setup --install-ghc
|
|
||||||
|
|
||||||
# - name: Install shelltestrunner
|
# - name: Install shelltestrunner
|
||||||
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
|
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
|
||||||
@ -144,12 +144,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Install haskell deps
|
- name: Install haskell deps
|
||||||
if: steps.stack-global-db.outputs.cache-hit != 'true'
|
if: steps.stack-global-db.outputs.cache-hit != 'true'
|
||||||
|
# echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
C:\Users\runneradmin\AppData\Roaming\stack\local\bin\stack --no-terminal build --only-dependencies
|
||||||
stack --no-terminal build --only-dependencies
|
|
||||||
|
|
||||||
- name: Build hledger
|
- name: Build hledger
|
||||||
run: stack --no-terminal install --ghc-options=-Werror
|
run: C:\Users\runneradmin\AppData\Roaming\stack\local\bin\stack --no-terminal install --ghc-options=-Werror
|
||||||
|
|
||||||
# run hledger-lib/hledger functional tests, skipping the ones for addons
|
# run hledger-lib/hledger functional tests, skipping the ones for addons
|
||||||
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
|
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user