Skip to content

Commit

Permalink
[CI] Attempt forcing single-job work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lierdakil committed Apr 20, 2020
1 parent 1eb0e0a commit 884fde5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/haskell.yml
Expand Up @@ -93,7 +93,7 @@ jobs:
matrix:
pandocver: ["2.9.2.1"]
cabalver: ["3.0.0.0"]
ghcver: ["8.6.5"]
ghcver: ["8.8.3"]
env:
GHC: "C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-${{matrix.ghcver}}\\bin\\ghc.exe"
steps:
Expand All @@ -111,11 +111,11 @@ jobs:
run: cabal --store-dir=".cabal-store" v2-update
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: cabal --store-dir=".cabal-store" v2-build -w "$Env:ghc" --only-dependencies --enable-tests --constraint pandoc==${{matrix.pandocver}}
run: cabal --store-dir=".cabal-store" v2-build -j1 -w "$Env:ghc" --only-dependencies --enable-tests --constraint pandoc==${{matrix.pandocver}}
- name: Build
run: cabal --store-dir=".cabal-store" v2-build -w "$Env:ghc" --constraint pandoc==${{matrix.pandocver}}
run: cabal --store-dir=".cabal-store" v2-build -j1 -w "$Env:ghc" --constraint pandoc==${{matrix.pandocver}}
- name: Run tests
run: cabal --store-dir=".cabal-store" v2-test -w "$Env:ghc" --constraint pandoc==${{matrix.pandocver}}
run: cabal --store-dir=".cabal-store" v2-test -j1 -w "$Env:ghc" --constraint pandoc==${{matrix.pandocver}}
- name: Copy binary
shell: bash
run: find dist-newstyle -type f -name pandoc-crossref.exe -exec cp {} ./ \;
Expand Down
5 changes: 5 additions & 0 deletions cabal.project
@@ -0,0 +1,5 @@
packages: .
package pandoc
ghc-options: +RTS -A64m -RTS
package pandoc-crossref
ghc-options: +RTS -A64m -RTS

0 comments on commit 884fde5

Please sign in to comment.