Skip to content

Commit 482be75

Browse files
committed
enable static linking, and include ubuntu, in matrix build.
1 parent 1a8d65f commit 482be75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
mac:
104104
strategy:
105105
matrix:
106-
os: [macos-13, macos-14]
106+
os: [ubuntu-latest, macos-13, macos-14]
107107

108108
runs-on: ${{ matrix.os }}
109109
needs: validate-code-formatting
@@ -143,7 +143,7 @@ jobs:
143143
run: devbox run -- npm install
144144

145145
- name: Configure
146-
run: devbox run -- cabal configure --enable-tests -O2
146+
run: devbox run -- cabal configure --enable-tests --enable-executable-static --ghc-option=-split-sections -O2
147147

148148
- name: Build
149149
run: devbox run -- cabal build
@@ -159,7 +159,7 @@ jobs:
159159

160160
- uses: actions/upload-artifact@v4
161161
with:
162-
name: gren_${{ matrix.os }}
162+
name: gren-${{ matrix.os }}
163163
path: gren
164164
retention-days: 14
165165

0 commit comments

Comments
 (0)