File tree Expand file tree Collapse file tree 2 files changed +92567
-4
lines changed Expand file tree Collapse file tree 2 files changed +92567
-4
lines changed Original file line number Diff line number Diff line change @@ -45,18 +45,16 @@ jobs:
45
45
if : matrix.os == 'macos-latest'
46
46
run : cabal install exe:strictly --install-method=copy --overwrite-policy=always --installdir=dist --ghc-options="-optl-static"
47
47
48
-
49
48
- name : build linux
50
49
if : matrix.os == 'ubuntu-latest'
51
- run : |
52
- /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o
53
- cabal install exe:strictly --install-method=copy --overwrite-policy=always --installdir=dist --ghc-options="-optl-static -fPIC"
50
+ run : cabal install exe:strictly --install-method=copy --overwrite-policy=always --installdir=dist -enable-static --disable-executable-dynamic --ld-options=-static
54
51
55
52
- uses : actions/upload-artifact@v2
56
53
with :
57
54
name : ${{matrix.PLATFORM}}
58
55
path : ./dist/${{matrix.TARGET}}
59
56
if-no-files-found : error
57
+
60
58
release :
61
59
name : release build
62
60
if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
You can’t perform that action at this time.
0 commit comments