[Spice-commits] 2 commits - .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 27 14:34:42 UTC 2019


 .gitlab-ci.yml |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit a650430dfb849600f109a60f43253df4d87b6a28
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Jul 30 11:49:05 2019 +0100

    CI: Add usbredir packages to Windows
    
    Allows Windows job to build USB code part to make sure it compiles
    correctly.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8bcef65..e2d1c55 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,7 @@ variables:
   DEPS_MINGW: mingw64-gcc mingw64-pkg-config mingw64-pixman mingw64-openssl
               mingw64-gtk3 mingw64-json-glib mingw64-opus
               mingw64-gstreamer1-plugins-base mingw64-gstreamer1-plugins-good
+              mingw64-usbredir mingw32-usbredir
 
 fedora:
   artifacts:
commit 1d100971146cbe43536396420a08bfef6e126ee1
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Jul 30 10:29:34 2019 +0100

    CI: Add --werror
    
    Give errors on warnings, we want the code to compile without
    warnings, at least with CI.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa70f7a..8bcef65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,11 +28,11 @@ fedora:
   before_script:
     - dnf install -y $DEPS_COMMON $DEPS_FEDORA
     - git clone ${CI_REPOSITORY_URL/spice-gtk/spice-protocol}
-    - meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr
+    - meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror
     - ninja -C build-spice-protocol install
 
   script:
-    - meson --buildtype=release build-default
+    - meson --buildtype=release build-default --werror
     # Meson does not update submodules recursively
     - git submodule update --init --recursive
     # this fix an issue with Meson dist
@@ -42,7 +42,7 @@ fedora:
     - ninja -C build-default
     - ninja -C build-default test
 
-    - meson --buildtype=release build-feat-disabled -Dauto_features=disabled
+    - meson --buildtype=release build-feat-disabled -Dauto_features=disabled --werror
     - ninja -C build-feat-disabled
     - ninja -C build-feat-disabled test
 
@@ -58,11 +58,11 @@ windows:
     - dnf install -y $DEPS_COMMON $DEPS_MINGW
     - git clone ${CI_REPOSITORY_URL/spice-gtk/spice-protocol}
     - mkdir spice-protocol/build-spice-protocol && cd spice-protocol/build-spice-protocol
-    - mingw64-meson --buildtype=release --prefix=/usr
+    - mingw64-meson --buildtype=release --prefix=/usr --werror
     - ninja install
 
   script:
     - cd $CI_PROJECT_DIR
     - mkdir build-win64 && cd build-win64
-    - mingw64-meson --buildtype=release -Dgtk_doc=disabled
+    - mingw64-meson --buildtype=release -Dgtk_doc=disabled --werror
     - ninja install


More information about the Spice-commits mailing list