File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / .gitlab-ci.yml
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Sep 27 11:25:11 2023 UTC (8 months, 2 weeks ago) by misho
Branches: miniupnpd, MAIN
CVS tags: v2_3_3p0, HEAD
Version 2.3.3p0

    1: stages:
    2:     - build
    3: 
    4: # iproute2 : /bin/ip
    5: # net-tools : /sbin/ifconfig
    6: 
    7: miniupnpd_iptables:
    8:     stage: build
    9:     before_script:
   10:         - >
   11:           apt-get update -qq && apt-get install -y -qq iproute2
   12:           libip4tc-dev libip6tc-dev libiptc-dev libxtables-dev
   13:           libnfnetlink-dev uuid-dev make gcc
   14:           libmnl-dev libssl-dev net-tools doxygen graphviz
   15:     script:
   16:         - "cd miniupnpd"
   17:         - "./configure || exit 1"
   18:         - "make -j3 && make check || exit 1"
   19:         - "make install DESTDIR=/tmp/miniupnpd_iptables_install || exit 1"
   20:         - "make dox"
   21: 
   22: miniupnpd_nftables:
   23:     stage: build
   24:     before_script:
   25:         - >
   26:           apt-get update -qq && apt-get install -y -qq iproute2
   27:           libnftables-dev libnftnl-dev
   28:           libnfnetlink-dev uuid-dev make gcc
   29:           libmnl-dev libssl-dev net-tools doxygen graphviz
   30:     script:
   31:         - "cd miniupnpd"
   32:         - "./configure --firewall=nftables || exit 1"
   33:         - "make -j3 && make check || exit 1"
   34:         - "make install DESTDIR=/tmp/miniupnpd_nftables_install || exit 1"
   35:         - "make dox"
   36: 
   37: # i686-w64-mingw32-gcc
   38: miniupnpc:
   39:     stage: build
   40:     before_script:
   41:         - >
   42:           apt-get update -qq && apt-get install -y -qq libevent-dev
   43:           uuid-dev make gcc gcc-mingw-w64-i686 mingw-w64-tools
   44:           net-tools doxygen graphviz
   45:     script:
   46:         - "cd miniupnpc"
   47:         - "make -j3 && make check || exit 1"
   48:         - "make install DESTDIR=/tmp/miniupnpc_install || exit 1"
   49:         - "make clean || exit 1"
   50:         - "make -f Makefile.mingw DLLWRAP=i686-w64-mingw32-dllwrap WINDRES=i686-w64-mingw32-windres CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>