Skip to content

Commit b197ee0

Browse files
Try with Stack and use-pkg-config.
1 parent 5ad0385 commit b197ee0

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/haskell.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
matrix:
77
host: ['macos-latest']
88
runs-on: ${{ matrix.host }}
9-
name: GHC on ${{ matrix.host }}
9+
name: Stack on ${{ matrix.host }}
1010
steps:
1111
- uses: actions/checkout@v6
12-
- run: brew install pcre
1312
- uses: haskell-actions/setup@v2
14-
- run: cabal build all
15-
- run: cabal test all --test-show-details=streaming
13+
with:
14+
enable-stack: true
15+
- run: stack test
1616

stack.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@ system-ghc: true
33
compiler-check: newer-minor
44

55
extra-deps:
6-
- hscurses-1.5.0.0@sha256:5bd0d1840ede4a99becdbb7a6b68ee6abe14f4b4a4cdfce373fcf46b9e119650,3851
6+
- hscurses-1.5.0.0@sha256:5bd0d1840ede4a99becdbb7a6b68ee6abe14f4b4a4cdfce373fcf46b9e119650,3851
7+
8+
flags:
9+
pcre-light:
10+
use-pkg-config: true
711

0 commit comments

Comments
 (0)