File tree 1 file changed +5
-18
lines changed
1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -101,24 +101,16 @@ jobs:
101
101
retention-days : 14
102
102
103
103
mac :
104
+ needs : validate-code-formatting
104
105
strategy :
105
106
matrix :
106
- os : [ubuntu-latest, macos-13, macos-14]
107
- include :
108
- - os : ubuntu-latest
109
- container : alpine:3.17
110
-
107
+ os : [macos-13, macos-14]
108
+
111
109
runs-on : ${{ matrix.os }}
112
- container : ${{ matrix.container }}
113
- needs : validate-code-formatting
114
110
115
111
steps :
116
112
- uses : actions/checkout@v4
117
-
118
- - name : Install deps
119
- if : ${{ matrix.os == 'ubuntu-latest' }}
120
- run : apk add alpine-sdk autoconf gcc gmp gmp-dev libffi libffi-dev llvm15 make musl-dev ncurses-dev ncurses-static tree wget zlib-dev zlib-static curl
121
-
113
+
122
114
- name : Install devbox
123
115
uses : jetify-com/devbox-install-action@v0.11.0
124
116
with :
@@ -152,14 +144,9 @@ jobs:
152
144
- name : Install npm dependencies
153
145
run : devbox run -- npm install
154
146
155
- - name : Configure (mac)
156
- if : ${{ matrix.os != 'ubuntu-latest'}}
147
+ - name : Configure
157
148
run : devbox run -- cabal configure --enable-tests -O2
158
149
159
- - name : Configure (linux)
160
- if : ${{ matrix.os == 'ubuntu-latest'}}
161
- run : devbox run -- cabal configure --enable-tests --enable-executable-static --ghc-option=-split-sections -O2
162
-
163
150
- name : Build
164
151
run : devbox run -- cabal build
165
152
You can’t perform that action at this time.
0 commit comments