miniupnp/.github/workflows/x86_64-w64-mingw32.yml

33 lines
894 B
YAML
Raw Normal View History

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
- 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
with:
name: miniupnpc-win64-binaries-${{github.sha}}
path: |
miniupnpc/*.exe
miniupnpc/*.dll
miniupnpc/*.def
miniupnpc/*.a
miniupnpc/LICENSE
miniupnpc/README
miniupnpc/Changelog.txt