Skip to content

Commit 08eb350

Browse files
committed
avoid static linking on mac builds.
1 parent 482be75 commit 08eb350

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ jobs:
142142
- name: Install npm dependencies
143143
run: devbox run -- npm install
144144

145-
- name: Configure
145+
- name: Configure (mac)
146+
if: ${{ matrix.os != 'ubuntu-latest' }}
147+
run: devbox run -- cabal configure --enable-tests --ghc-option=-split-sections -O2
148+
149+
- name: Configure (linux)
150+
if: ${{ matrix.os == 'ubuntu-latest' }}
146151
run: devbox run -- cabal configure --enable-tests --enable-executable-static --ghc-option=-split-sections -O2
147152

148153
- name: Build

0 commit comments

Comments
 (0)