Skip to content

Commit

Permalink
Fix build of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jan 6, 2025
1 parent e456a5e commit 554b701
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
autoreconf -i
cabal update
cabal build -w javascript-unknown-ghcjs-ghc --with-ghc-pkg=javascript-unknown-ghcjs-ghc-pkg --with-hsc2hs=javascript-unknown-ghcjs-hsc2hs -f-os-string
$(cabal list-bin -w javascript-unknown-ghcjs-ghc --with-ghc-pkg=javascript-unknown-ghcjs-ghc-pkg --with-hsc2hs=javascript-unknown-ghcjs-hsc2hs -f-os-string T13660)
cabal --project-file=cabal.project.js build --with-hsc2hs=javascript-unknown-ghcjs-hsc2hs
$(cabal --project-file=cabal.project.js list-bin T13660)
$(cabal --project-file=cabal.project.js list-bin unix-tests)
18 changes: 18 additions & 0 deletions cabal.project.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
packages: .

with-compiler: javascript-unknown-ghcjs-ghc
with-hc-pkg: javascript-unknown-ghcjs-ghc-pkg

package unix
ghc-options: -Wno-unused-imports

write-ghc-environment-files: always

allow-newer: all:base

tests: True

constraints:
random < 1.2,
tasty -unix, optparse-applicative -process,
unix -os-string

0 comments on commit 554b701

Please sign in to comment.