File tree Expand file tree Collapse file tree 1 file changed +24
-7
lines changed
Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Original file line number Diff line number Diff line change 1- name : windows_ne
1+ name : windows
22
33on :
44 push :
55 branches : [ master ]
66 pull_request :
77 branches : [ master ]
8+ workflow_dispatch :
89
910permissions :
10- contents : read
11+ contents : read
1112
1213jobs :
1314 build :
14-
1515 runs-on : windows-latest
1616 defaults :
1717 run :
1818 shell : msys2 {0}
1919
2020 steps :
2121 - uses : actions/checkout@v4
22+
2223 - uses : msys2/setup-msys2@v2
2324 with :
2425 msystem : MINGW64
25- update : false
26- install : git make mingw-w64-x86_64-toolchain mingw-w64-x86_64-zlib
27- - name : make
28- run : make TARGETOS=windows32
26+ update : true
27+ install : git make mingw-w64-x86_64-toolchain mingw-w64-x86_64-zlib mingw-w64-x86_64-binutils
28+
29+ - name : Configure Static Build
30+ run : |
31+ echo "LDFLAGS += -static -lz" >> Makefile
32+
33+ - name : Build Windows Binaries
34+ run : make cross-mingw64
35+
36+ - name : Verify Binary Dependencies
37+ run : |
38+ echo "Checking for dependencies..."
39+ x86_64-w64-mingw32-objdump -p ./bin/iodine.exe | grep -i "DLL"
40+
41+ - name : Upload Windows Binaries
42+ uses : actions/upload-artifact@v3
43+ with :
44+ name : windows-binaries
45+ path : ./bin/*.exe
You can’t perform that action at this time.
0 commit comments