]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
bird: .yml file is now almost ready to run netlab w/ bird and birdc
authorMatous Holinka <matous.holinka@nic.cz>
Wed, 6 Nov 2019 08:41:33 +0000 (09:41 +0100)
committerMatous Holinka <matous.holinka@nic.cz>
Wed, 6 Nov 2019 08:41:33 +0000 (09:41 +0100)
.gitlab-ci.yml

index 92881c6260c85e933dda63cb8e115ea094f3eca4..5ce96604b6c62759264615d344cdac1ea60822cf 100644 (file)
@@ -306,10 +306,20 @@ cloning_netlab:
     - birdlab
   script:
     - echo 'Cloning Netlab from repository'
-    - pwd
+    - autoreconf
+    - ./configure CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
+    # Detect which make is available
+    - MAKE=make
+    - which gmake 2>/dev/null >/dev/null && MAKE=gmake
+    - $MAKE
+    # Run tests if they are available
+    - $MAKE check
     - cd ../
     - git clone https://gitlab.labs.nic.cz/labs/bird-tools --branch oz-test-base
     - ls -l
+    - cd bird
+    - mv bird birdc ../bird-tools/netlab-int/common
+    - echo 'Done!'
 
 preparing_netlab:
   stage: nl_prep