]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Added build for Debian 12
authorMaria Matejka <mq@ucw.cz>
Wed, 12 Feb 2025 20:30:55 +0000 (21:30 +0100)
committerMaria Matejka <mq@ucw.cz>
Tue, 25 Feb 2025 13:40:56 +0000 (14:40 +0100)
Needed right now for a customer. There is a better fix pending.

.gitlab-ci.yml

index 1b84ce8fca429774fdda34ebf2ae572f9657f214..517aae843870d21d382484f207d81849d17ad55c 100644 (file)
@@ -80,6 +80,10 @@ build-debian-11-amd64:
   <<: *build-linux
   image: registry.nic.cz/labs/bird:debian-11-amd64
 
+build-debian-12-amd64:
+  <<: *build-linux
+  image: registry.nic.cz/labs/bird:debian-12-amd64
+
 #build-debian-11-i386:
 #  <<: *build-linux
 #  image: registry.nic.cz/labs/bird:debian-11-i386
@@ -188,6 +192,8 @@ build-opensuse-15.3-amd64:
 .pkg-deb: &pkg-deb
   stage: pkg
   script:
+    # create venv only if it's installed
+    - if python3 -m venv venv; then . venv/bin/activate; fi
     - pip3 install apkg
     - apkg build
     #- apkg install -y pkg/pkgs/*/*/*.deb
@@ -231,6 +237,11 @@ pkg-debian-11-amd64:
   needs: [build-debian-11-amd64]
   image: registry.nic.cz/labs/bird:debian-11-amd64
 
+pkg-debian-12-amd64:
+  <<: *pkg-deb
+  needs: [build-debian-12-amd64]
+  image: registry.nic.cz/labs/bird:debian-12-amd64
+
 pkg-fedora-30-amd64:
   <<: *pkg-rpm-wa
   needs: [build-fedora-30-amd64]