github workflows: test make install

This commit is contained in:
Thomas Bernard 2021-09-30 23:08:23 +02:00
parent b7186a76a0
commit c5e08bed57
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
2 changed files with 15 additions and 0 deletions

View File

@ -27,9 +27,15 @@ jobs:
- name: build miniupnpc with make
run: make -C miniupnpc all check
- name: install miniupnpc with make
run: make -C miniupnpc install DESTDIR=/tmp/miniupnpc_install
- name: build miniupnpc with cmake
run: mkdir miniupnpc/cmake-build && cd miniupnpc/cmake-build && cmake .. && make
- name: install miniupnpc with cmake
run: cd miniupnpc/cmake-build && make DESTDIR=/tmp/miniupnpc_cmake_install install
build-minissdpd:
# The type of runner that the job will run on
runs-on: ubuntu-latest
@ -44,3 +50,6 @@ jobs:
- name: build minissdpd
run: make -C minissdpd all check
- name: install minissdpd
run: make -C minissdpd DESTDIR=/tmp/minissdpd_install install

View File

@ -32,9 +32,15 @@ jobs:
../configure --ipv6 --igd2 --strict --portinuse --firewall=iptables
make all check
- name: install miniupnpd(iptables)
run: cd miniupnpd/build-ipt && make DESTDIR=/tmp/miniupnpd_iptables install
- name: build miniupnpd(nftables)
run: |
mkdir -p miniupnpd/build-nft
cd miniupnpd/build-nft
../configure --ipv6 --igd2 --strict --portinuse --firewall=nftables
make all check
- name: install miniupnpd(nftables)
run: cd miniupnpd/build-nft && make DESTDIR=/tmp/miniupnpd_iptables install