Skip to content

Commit

Permalink
windows server build added (not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
Detlef Groth committed Dec 23, 2023
1 parent 931934b commit ced38c1
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/binaries-win-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Binaries Windows Server (not working)

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-llvm-16.0.0-mingw-w64ucrt-10.0.0-r5.zip
unzip -q winlibs-i686-posix-dwarf-gcc-12.2.0-llvm-16.0.0-mingw-w64ucrt-10.0.0-r5.zip
PATH=%CD%\mingw32\bin;%PATH%
gcc --version
- name: compile zlib
shell: cmd
run: |
cd microemacs/3rdparty/zlib
mingw32-make -f win32mingw.mak
ls
cd ../../..
- name: compile tfs
shell: cmd
run: |
cd microemacs/3rdparty/tfs
mingw32-make -f win32mingw.mak
ls
cd ../../..
- name: compile mew
shell: cmd
run: |
PATH=%CD%\mingw32\bin;%PATH%
gcc -v
cd microemacs/src
mingw32-make -f win32mingw.mak
ls
- name: Upload Artifact zlib
uses: actions/upload-artifact@v3
with:
name: build-zlib
path: microemacs/3rdparty/zlib/.win32mingw-release
- name: Upload Artifact tfs
uses: actions/upload-artifact@v3
with:
name: build-tfs
path: microemacs/3rdparty/tfs/.win32mingw-release





0 comments on commit ced38c1

Please sign in to comment.