chore: resolve type mismatch for windows libs #3
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: x86_64-w64-mingw32 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install packages | |
run: sudo apt-get install gcc-mingw-w64-x86-64 mingw-w64-tools | |
- name: build miniupnpc via x86_64-w64-mingw32 | |
run: make -C miniupnpc -f Makefile.mingw DLLWRAP=x86_64-w64-mingw32-dllwrap CC=x86_64-w64-mingw32-gcc WINDRES=x86_64-w64-mingw32-windres AR=x86_64-w64-mingw32-ar all dist | |
- name: upload binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: miniupnpc-win64-binaries-${{github.sha}} | |
path: | | |
miniupnpc/*.exe | |
miniupnpc/*.dll | |
miniupnpc/*.def | |
miniupnpc/*.a | |
miniupnpc/LICENSE | |
miniupnpc/README | |
miniupnpc/Changelog.txt |