diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..38367690a59b4d14eb484b840d9d47cbeebee07c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +image: 'registry.fedoraproject.org/fedora:31' + +before_script: + - dnf update -y + - dnf install -y rust cargo git meson ninja-build libsoup-devel glib2-devel gobject-introspection-devel xorg-x11-server-Xvfb + - git submodule update --init + +stages: + - test + - deploy + +build: + stage: test + script: + - cargo build --all-features + # - xvfb-run -a -s "-screen 0 1024x768x24" cargo test + +pages: + stage: deploy + script: + - cargo doc -p soup --all-features + - mv target/doc/ public + artifacts: + paths: + - public + only: + refs: + - master diff --git a/soup/Cargo.toml b/soup/Cargo.toml index 60d1c6e98051d707d6f6c3c5f8b0a0fb37ce32d4..d8e26622eeec2a9cdf7b4a4a13003a4056df6b8d 100644 --- a/soup/Cargo.toml +++ b/soup/Cargo.toml @@ -2,6 +2,7 @@ name = "soup" version = "0.1.0" authors = ["Felix Häcker "] +documentation = "https://world.pages.gitlab.gnome.org/Rust/soup-rs/soup/" [dependencies] soup-sys = { path="../soup-sys" }