[fractal/fractal-next] ci: docs: Don't manually install deps & use meson
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] ci: docs: Don't manually install deps & use meson
- Date: Wed, 5 May 2021 09:54:17 +0000 (UTC)
commit 28b18f7cc80af30fd4e536bea9f3c432b6cc2e96
Author: Veli Tasali <veli tasali gmail com>
Date: Tue May 4 15:54:29 2021 +0300
ci: docs: Don't manually install deps & use meson
.gitlab-ci.yml | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30f7c3fb..2ed23827 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,20 +54,11 @@ pages:
script:
# generate the docs
- dnf update -y
- - dnf install -y openssl-devel cmake
+ - dnf install -y openssl-devel cmake gtk-update-icon-cache
- 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 -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
- - meson _build --prefix=/usr
+ - meson _build --prefix=/usr -Dskip-cargo-build=true
+ - ninja -C _build install
- cargo doc -p fractal --no-deps
- mv target/doc/ public
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]