diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 456fa9510..e7f3e5339 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -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