Binaries Windows 19 Server #49
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: Binaries Windows 19 Server | |
on: | |
workflow_dispatch: | |
branches: [ master ] | |
env: | |
VERSION: "091224b1" | |
jobs: | |
build: | |
runs-on: windows-2019 | |
name: Build on ${{ matrix.distro }} ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 bfs | |
shell: cmd | |
run: | | |
gcc --version | |
PATH=%CD%\mingw32\bin;%PATH% | |
gcc --version | |
mingw32-make -f win32winlibs.gmk bfs/exe | |
- name: compile mec | |
shell: cmd | |
run: | | |
PATH=%CD%\mingw32\bin;%PATH% | |
gcc --version | |
ld --version | |
mingw32-make -f win32winlibs.gmk mec | |
- name: compile mew | |
shell: cmd | |
run: | | |
PATH=%CD%\mingw32\bin;%PATH% | |
mingw32-make -f win32winlibs.gmk mew | |
- name: create mecb | |
shell: cmd | |
run: | | |
PATH=%CD%\mingw32\bin;%PATH% | |
mingw32-make -f win32winlibs.gmk mecb | |
- name: create mewb | |
shell: cmd | |
run: | | |
PATH=%CD%\mingw32\bin;%PATH% | |
mingw32-make -f win32winlibs.gmk mewb | |
- name: Make release | |
shell: pwsh | |
run: | | |
$env:VERSION ='091224b1' | |
mkdir MicroEmacs09-${env:VERSION}-Windows | |
mkdir MicroEmacs09-${env:VERSION}-Windows/bin | |
cp bfs/bfs.exe MicroEmacs09-${env:VERSION}-Windows/bin/ | |
cp src/.win32winlibs-release-mew/mew32.exe MicroEmacs09-${env:VERSION}-Windows/bin/ | |
cp src/.win32winlibs-release-mec/mec32.exe MicroEmacs09-${env:VERSION}-Windows/bin/ | |
cp license.txt MicroEmacs09-${env:VERSION}-Windows/ | |
cp COPYING MicroEmacs09-${env:VERSION}-Windows/ | |
cp README-standalone.md MicroEmacs09-${env:VERSION}-Windows/ | |
cd jasspa | |
7z a macros.zip macros | |
cd .. | |
cp jasspa/macros.zip MicroEmacs09-${env:VERSION}-Windows/ | |
- name: Upload Windows WinlibRelease files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: MicroEmacs09-091224b1-Windows | |
path: MicroEmacs09-091224b1-Windows | |