stage: build
script:
- autoreconf
- - ./configure CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
+ - ./configure CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" $CONFIGURE_OPTIONS
# Detect which make is available
- MAKE=make
- which gmake 2>/dev/null >/dev/null && MAKE=gmake
# - i386
+.build-only: &build-only
+ <<: *build-linux
+ image: registry.nic.cz/labs/bird:debian-11-amd64
+
+build-only-aggregator:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=aggregator
+
+build-only-babel:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=babel
+
+build-only-bgp:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp
+
+build-only-bgp-bfd:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,bfd
+
+build-only-bgp-bmp:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,bmp
+
+build-only-bgp-bmp-bfd:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,bmp,bfd
+
+build-only-l3vpn:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=l3vpn
+
+build-only-bgp-mrt:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,mrt
+
+build-only-bgp-mrt-bfd:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,mrt,bfd
+
+build-only-bgp-mrt-bmp:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,mrt,bmp
+
+build-only-bgp-mrt-bmp-bfd:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=bgp,mrt,bmp,bfd
+
+build-only-ospf:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=ospf
+
+build-only-ospf-bfd:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=ospf,bfd
+
+build-only-pipe:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=pipe
+
+build-only-radv:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=radv
+
+build-only-rip:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=rip
+
+build-only-rip-bfd:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=rip,bfd
+
+build-only-rpki:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=rpki
+
+build-only-static:
+ <<: *build-only
+ variables:
+ CONFIGURE_OPTIONS: --with-protocols=static
+
+
.pkg-deb: &pkg-deb
stage: pkg
script: