[fractal/fractal-next] ci: docs: Install gtksourceview & enable index page



commit 3b5bde25400667e622f8a682d0f5ddf907ab1c91
Author: Veli Tasali <veli tasali gmail com>
Date:   Sun May 2 22:02:35 2021 +0300

    ci: docs: Install gtksourceview & enable index page
    
    This will fix `pages` deployment which started to
    fail after the addition of `gtksourceview`. Also,
    add `--enable-index-page` because it looks better
    that way.

 .gitlab-ci.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 496435a6..30f7c3fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,6 +43,7 @@ pages:
   variables:
     RUSTDOCFLAGS: >
       -Z unstable-options
+      --enable-index-page
       --extern-html-root-url=gio=https://gtk-rs.org/gtk-rs/git/docs
       --extern-html-root-url=gsk4=https://gtk-rs.org/gtk4-rs/git/docs
       --extern-html-root-url=gdk4=https://gtk-rs.org/gtk4-rs/git/docs
@@ -56,8 +57,13 @@ pages:
     - dnf install -y openssl-devel cmake
     - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal 
--default-toolchain nightly
     - git clone https://gitlab.gnome.org/GNOME/libadwaita.git
+    - git clone https://gitlab.gnome.org/GNOME/gtksourceview.git
     - cd libadwaita
-    - meson _build --prefix=/usr -Dvapi=false
+    - meson _build --prefix=/usr -Dtests=false -Dexamples=false -Dvapi=false
+    - ninja -C _build install
+    - cd ..
+    - cd gtksourceview
+    - meson _build --prefix=/usr -Dgtk_doc=false -Dsysprof=false -Dgir=false -Dvapi=false 
-Dinstall_tests=false
     - ninja -C _build install
     - cd ..
     - source $HOME/.cargo/env


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]