Annotation of embedaddon/miniupnpd/.github/workflows/i686-w64-mingw32.yml, revision 1.1.1.1
1.1 misho 1: # This is a basic workflow to help you get started with Actions
2:
3: name: i686-w64-mingw32
4:
5: # Controls when the action will run. Triggers the workflow on push or pull request
6: # events but only for the master branch
7: on:
8: push:
9: branches: [ master ]
10: pull_request:
11: branches: [ master ]
12:
13: # A workflow run is made up of one or more jobs that can run sequentially or in parallel
14: jobs:
15: # This workflow contains a single job called "build"
16: build:
17: # The type of runner that the job will run on
18: runs-on: ubuntu-latest
19:
20: # Steps represent a sequence of tasks that will be executed as part of the job
21: steps:
22: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23: - uses: actions/checkout@v3
24:
25: - name: install packages
26: run: sudo apt-get install gcc-mingw-w64-i686 mingw-w64-tools
27:
28: - name: build miniupnpc via i686-w64-mingw32
29: run: make -C miniupnpc -f Makefile.mingw DLLWRAP=i686-w64-mingw32-dllwrap CC=i686-w64-mingw32-gcc WINDRES=i686-w64-mingw32-windres AR=i686-w64-mingw32-ar all dist
30:
31: - name: upload binaries
32: uses: actions/upload-artifact@v3
33: with:
34: name: miniupnpc-win32-binaries-${{github.sha}}
35: path: |
36: miniupnpc/*.exe
37: miniupnpc/*.dll
38: miniupnpc/*.def
39: miniupnpc/*.a
40: miniupnpc/LICENSE
41: miniupnpc/README
42: miniupnpc/Changelog.txt
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>