2021-08-06 15:07:40 +00:00
|
|
|
name: x86_64-w64-mingw32
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-05-31 07:29:02 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-08-06 15:07:40 +00:00
|
|
|
|
|
|
|
- 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
|
2024-05-31 07:29:02 +00:00
|
|
|
uses: actions/upload-artifact@v4
|
2021-08-06 15:07:40 +00:00
|
|
|
with:
|
|
|
|
name: miniupnpc-win64-binaries-${{github.sha}}
|
|
|
|
path: |
|
|
|
|
miniupnpc/*.exe
|
|
|
|
miniupnpc/*.dll
|
|
|
|
miniupnpc/*.def
|
|
|
|
miniupnpc/*.a
|
|
|
|
miniupnpc/LICENSE
|
|
|
|
miniupnpc/README
|
|
|
|
miniupnpc/Changelog.txt
|