Skip to content

z - defunct - Binaries on Windows Server #25

z - defunct - Binaries on Windows Server

z - defunct - Binaries on Windows Server #25

name: Binaries on Windows Server
on:
workflow_dispatch:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
steps:
- uses: actions/checkout@v3
- name: download winlibs
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
$Env:PATH += ";$pwd/mingw32/bin"
gcc --version
- name: compile zlib
run: |
cd 3rdparty/zlib
mingw32-make -f win32mingw.mak
Get-ChildItem -Force
Get-ChildItem -Force .mingw*/*
cd ../../
- name: compile bfs
run: |
cd bfs
mingw32-make -f Makefile.mingw RC=windres STRIP=strip
Get-ChildItem -Force
ls
cd ..
- name: compile mew/mec
run: |
$Env:PATH += ";$pwd/mingw32/bin"
Get-ChildItem -Force
cd src
mingw32-make -f win32mingw.mak RC=windres STRIP=strip
dir
mingw32-make -f win32mingw.mak BTYP=c RC=windres STRIP=strip
dir
dir
cd .win32mingw-release-mec
Start-Process mec32.exe -Arguments "-V" -wait