Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
guests/playbooks/build/jobs/defaults.yml | 2 ++
.../build/projects/gtk-vnc+mingw32.yml | 12 ++++++++++
.../build/projects/gtk-vnc+mingw64.yml | 12 ++++++++++
guests/playbooks/build/projects/gtk-vnc.yml | 19 ++++++++++++++++
jenkins/jobs/defaults.yaml | 2 ++
jenkins/projects/gtk-vnc+mingw32.yaml | 12 ++++++++++
jenkins/projects/gtk-vnc+mingw64.yaml | 12 ++++++++++
jenkins/projects/gtk-vnc.yaml | 22 +++++++++++++++++++
8 files changed, 93 insertions(+)
create mode 100644 guests/playbooks/build/projects/gtk-vnc+mingw32.yml
create mode 100644 guests/playbooks/build/projects/gtk-vnc+mingw64.yml
create mode 100644 guests/playbooks/build/projects/gtk-vnc.yml
create mode 100644 jenkins/projects/gtk-vnc+mingw32.yaml
create mode 100644 jenkins/projects/gtk-vnc+mingw64.yaml
create mode 100644 jenkins/projects/gtk-vnc.yaml
diff --git a/guests/playbooks/build/jobs/defaults.yml
b/guests/playbooks/build/jobs/defaults.yml
index 5e4ec03..5cbc440 100644
--- a/guests/playbooks/build/jobs/defaults.yml
+++ b/guests/playbooks/build/jobs/defaults.yml
@@ -46,6 +46,8 @@ mingw64_local_env: |
mingw64_autogen_args: --host=x86_64-w64-mingw32
mingw64_meson_args: --cross-file=/usr/share/mingw/toolchain-mingw64.meson
git_urls:
+ gtk-vnc:
+ default:
https://gitlab.gnome.org/GNOME/gtk-vnc.git
libosinfo:
default:
https://gitlab.com/libosinfo/libosinfo.git
libvirt-cim:
diff --git a/guests/playbooks/build/projects/gtk-vnc+mingw32.yml
b/guests/playbooks/build/projects/gtk-vnc+mingw32.yml
new file mode 100644
index 0000000..2328a1d
--- /dev/null
+++ b/guests/playbooks/build/projects/gtk-vnc+mingw32.yml
@@ -0,0 +1,12 @@
+---
+- set_fact:
+ name: gtk-vnc+mingw32
+ machines: '{{ mingw_machines }}'
+ archive_format: xz
+ git_url: '{{ git_urls["gtk-vnc"][git_remote] }}'
+
+- include: '{{ playbook_base }}/jobs/prepare.yml'
+- include: '{{ playbook_base }}/jobs/meson-build-job.yml'
+ vars:
+ local_env: '{{ mingw32_local_env }}'
+ meson_args: '{{ mingw32_meson_args }}'
diff --git a/guests/playbooks/build/projects/gtk-vnc+mingw64.yml
b/guests/playbooks/build/projects/gtk-vnc+mingw64.yml
new file mode 100644
index 0000000..c69e957
--- /dev/null
+++ b/guests/playbooks/build/projects/gtk-vnc+mingw64.yml
@@ -0,0 +1,12 @@
+---
+- set_fact:
+ name: gtk-vnc+mingw64
+ machines: '{{ mingw_machines }}'
+ archive_format: xz
+ git_url: '{{ git_urls["gtk-vnc"][git_remote] }}'
+
+- include: '{{ playbook_base }}/jobs/prepare.yml'
+- include: '{{ playbook_base }}/jobs/meson-build-job.yml'
+ vars:
+ local_env: '{{ mingw64_local_env }}'
+ meson_args: '{{ mingw64_meson_args }}'
diff --git a/guests/playbooks/build/projects/gtk-vnc.yml
b/guests/playbooks/build/projects/gtk-vnc.yml
new file mode 100644
index 0000000..260cf71
--- /dev/null
+++ b/guests/playbooks/build/projects/gtk-vnc.yml
@@ -0,0 +1,19 @@
+---
+- set_fact:
+ name: gtk-vnc
+ machines: '{{ all_machines }}'
+ archive_format: xz
+ git_url: '{{ git_urls["gtk-vnc"][git_remote] }}'
+
+- include: '{{ playbook_base }}/jobs/prepare.yml'
+- include: '{{ playbook_base }}/jobs/meson-build-job.yml'
+- include: '{{ playbook_base }}/jobs/meson-check-job.yml'
+- include: '{{ playbook_base }}/jobs/meson-rpm-job.yml'
+ vars:
+ # RPM build is still not possible on CentOS7 as it does not
+ # have the needed RPM macros for meson.
+ machines:
+ - libvirt-centos-8
+ - libvirt-fedora-30
+ - libvirt-fedora-31
+ - libvirt-fedora-rawhide
diff --git a/jenkins/jobs/defaults.yaml b/jenkins/jobs/defaults.yaml
index 676ecbf..2d9ffef 100644
--- a/jenkins/jobs/defaults.yaml
+++ b/jenkins/jobs/defaults.yaml
@@ -42,6 +42,8 @@
mingw64_autogen_args: --host=x86_64-w64-mingw32
mingw64_meson_args: --cross-file=/usr/share/mingw/toolchain-mingw64.meson
git_urls:
+ gtk-vnc:
+ default:
https://gitlab.gnome.org/GNOME/gtk-vnc.git
libosinfo:
default:
https://gitlab.com/libosinfo/libosinfo.git
libvirt-cim:
diff --git a/jenkins/projects/gtk-vnc+mingw32.yaml
b/jenkins/projects/gtk-vnc+mingw32.yaml
new file mode 100644
index 0000000..bfb12da
--- /dev/null
+++ b/jenkins/projects/gtk-vnc+mingw32.yaml
@@ -0,0 +1,12 @@
+---
+- project:
+ name: gtk-vnc+mingw32
+ machines: '{mingw_machines}'
+ title: GTK-VNC MinGW (32-bit)
+ archive_format: xz
+ git_url: '{git_urls[gtk-vnc][default]}'
+ jobs:
+ - meson-build-job:
+ parent_jobs:
+ local_env: '{mingw32_local_env}'
+ meson_args: '{mingw32_meson_args}'
diff --git a/jenkins/projects/gtk-vnc+mingw64.yaml
b/jenkins/projects/gtk-vnc+mingw64.yaml
new file mode 100644
index 0000000..7f68694
--- /dev/null
+++ b/jenkins/projects/gtk-vnc+mingw64.yaml
@@ -0,0 +1,12 @@
+---
+- project:
+ name: gtk-vnc+mingw64
+ machines: '{mingw_machines}'
+ title: GTK-VNC MinGW (64-bit)
+ archive_format: xz
+ git_url: '{git_urls[gtk-vnc][default]}'
+ jobs:
+ - meson-build-job:
+ parent_jobs:
+ local_env: '{mingw64_local_env}'
+ meson_args: '{mingw64_meson_args}'
diff --git a/jenkins/projects/gtk-vnc.yaml b/jenkins/projects/gtk-vnc.yaml
new file mode 100644
index 0000000..c8b18da
--- /dev/null
+++ b/jenkins/projects/gtk-vnc.yaml
@@ -0,0 +1,22 @@
+---
+- project:
+ name: gtk-vnc
+ machines: '{all_machines}'
+ title: GTK-VNC
+ archive_format: xz
+ git_url: '{git_urls[gtk-vnc][default]}'
+ jobs:
+ - meson-build-job:
+ parent_jobs:
+ - meson-check-job:
+ parent_jobs: 'gtk-vnc-build'
+ - meson-rpm-job:
+ parent_jobs: 'gtk-vnc-check'
+ machines: '{rpm_machines}'
+ # RPM build is still not possible on CentOS7 as it does not
+ # have the needed RPM macros for meson.
+ machines:
+ - libvirt-centos-8
+ - libvirt-fedora-30
+ - libvirt-fedora-31
+ - libvirt-fedora-rawhide
--
2.23.0