File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 41
41
- name : Test
42
42
run : yarn run test
43
43
44
- - name : Build
45
- run : cabal install exe:strictly --install-method=copy --overwrite-policy=always --installdir=dist --ghc-options="-optl-static -fPIC"
44
+ - if : matrix.os == 'macos-latest'
45
+ - name : Build
46
+ run : cabal install exe:strictly --install-method=copy --overwrite-policy=always --installdir=dist --ghc-options="-optl-static"
47
+
48
+
49
+ - if : matrix.os == 'ubuntu-latest'
50
+ - name : crtbegin hack
51
+ run : /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o
52
+
53
+ - name : Build
54
+ run : cabal install exe:strictly --install-method=copy --overwrite-policy=always --installdir=dist --ghc-options="-optl-static -fPIC"
46
55
47
56
- uses : actions/upload-artifact@v2
48
57
with :
You can’t perform that action at this time.
0 commit comments