2019-08-16 00:05:44 +00:00
|
|
|
variables:
|
2019-12-20 13:10:01 +00:00
|
|
|
FEDORA_DEPS: rust cargo git meson ninja-build
|
2019-08-16 00:05:44 +00:00
|
|
|
|
|
|
|
pages:
|
|
|
|
image: 'registry.fedoraproject.org/fedora:31'
|
|
|
|
stage: deploy
|
|
|
|
before_script:
|
|
|
|
- dnf update -y
|
|
|
|
- dnf install -y $FEDORA_DEPS
|
2019-12-20 13:10:01 +00:00
|
|
|
- meson --prefix=/usr _build
|
|
|
|
- ninja -C _build install
|
2019-08-16 00:05:44 +00:00
|
|
|
script:
|
|
|
|
- git submodule update --init
|
2019-12-20 13:10:01 +00:00
|
|
|
- cargo doc -p libhandy --features=['dox', 'v0_0_12']
|
2019-08-16 00:05:44 +00:00
|
|
|
- mv target/doc/ public
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- master
|