Binaries Windows 19 Server #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Binaries on Windows Server | |
on: | |
workflow_dispatch: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
name: Build on ${{ matrix.distro }} ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: download winlibs | |
shell: cmd | |
run: | | |
curl -OL https://github.com/brechtsanders/winlibs_mingw/releases/download/12.2.0-16.0.0-10.0.0-ucrt-r5/winlibs-i686-posix-dwarf-gcc-12.2.0-mingw-w64ucrt-10.0.0-r5.zip | |
unzip -q winlibs-i686-posix-dwarf-gcc-12.2.0-mingw-w64ucrt-10.0.0-r5.zip | |
PATH=%CD%\mingw32\bin;%PATH% | |
gcc --version | |
- name: compile zlib | |
shell: cmd | |
run: | | |
cd 3rdparty/zlib | |
mingw32-make -f win32mingw.mak | |
ls .win32mingw-release\* | |
cd ../../ | |
- name: compile bfs | |
shell: cmd | |
run: | | |
cd bfs | |
mingw32-make -f Makefile.mingw RC=windres STRIP=strip | |
ls | |
cd .. | |
- name: compile mew | |
shell: cmd | |
run: | | |
PATH=%CD%\mingw32\bin;%PATH% | |
gcc -v | |
cd src | |
mingw32-make -f mingw32.gmk RC=windres STRIP=strip | |
ls | |