Annotation of embedaddon/miniupnpd/.github/workflows/miniupnpd.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: miniupnpd
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: paths:
10: - 'miniupnpd/**'
11: - '.githib/workflows/miniupnpd.yml'
12: pull_request:
13: branches: [ master ]
14:
15: # A workflow run is made up of one or more jobs that can run sequentially or in parallel
16: jobs:
17: # This workflow contains a single job called "build"
18: build:
19: # The type of runner that the job will run on
20: runs-on: ubuntu-latest
21:
22: # Steps represent a sequence of tasks that will be executed as part of the job
23: steps:
24: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25: - uses: actions/checkout@v3
26:
27: - name: install packages
28: run: sudo apt-get install libiptc-dev libxtables-dev libnfnetlink-dev libnftnl-dev libmnl-dev libssl-dev
29:
30: - name: build miniupnpd(iptables)
31: run: |
32: mkdir -p miniupnpd/build-ipt
33: cd miniupnpd/build-ipt
34: ../configure --ipv6 --igd2 --strict --portinuse --firewall=iptables
35: make all check
36:
37: - name: install miniupnpd(iptables)
38: run: cd miniupnpd/build-ipt && make DESTDIR=/tmp/miniupnpd_iptables install
39:
40: - name: build miniupnpd(nftables)
41: run: |
42: mkdir -p miniupnpd/build-nft
43: cd miniupnpd/build-nft
44: ../configure --ipv6 --igd2 --strict --portinuse --firewall=nftables
45: make all check
46:
47: - name: install miniupnpd(nftables)
48: run: cd miniupnpd/build-nft && make DESTDIR=/tmp/miniupnpd_iptables install
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>