Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wireplumber
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
wireplumber
Commits
3ef5f409
Commit
3ef5f409
authored
4 years ago
by
George Kiagiadakis
Browse files
Options
Downloads
Patches
Plain Diff
ci: export documentation on gitlab pages
parent
91c35b2e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+31
-2
31 additions, 2 deletions
.gitlab-ci.yml
with
31 additions
and
2 deletions
.gitlab-ci.yml
+
31
−
2
View file @
3ef5f409
stages
:
-
container
-
build
-
pages
variables
:
FDO_UPSTREAM_REPO
:
'
pipewire/wireplumber'
...
...
@@ -18,8 +19,13 @@ include:
.fedora
:
variables
:
# Update this tag when you want to trigger a rebuild
FDO_DISTRIBUTION_TAG
:
'
2020-05-18.
1
'
FDO_DISTRIBUTION_TAG
:
'
2020-05-18.
3
'
FDO_DISTRIBUTION_VERSION
:
'
32'
# findutils: used by the .build script below
# cmake: required for cpptoml submodule & hotdoc
# dbus-devel: required by pipewire
# dbus-daemon: required by GDBus unit tests
# libxml, json-glib: required by hotdoc
FDO_DISTRIBUTION_PACKAGES
:
>-
findutils
gcc
...
...
@@ -28,10 +34,22 @@ include:
meson
cmake
glib2-devel
gtk-doc
gobject-introspection-devel
dbus-devel
dbus-daemon
libxml2-devel
json-glib-devel
# build hotdoc via pip, since there is no rpm package and make sure
# to remove its build-deps afterwards to save space.
# also install glib2-doc (required to make documentation links to GLib work)
# manually, to remove the 'tsflags=nodocs' flag that is enabled by default
# in the fedora docker image
FDO_DISTRIBUTION_EXEC
:
>-
dnf -y install python3-pip make python3-devel flex clang ;
HOTDOC_BUILD_C_EXTENSION=enabled pip3 install --no-cache-dir hotdoc ;
rm -rf ~/.cache/pip ;
dnf -y remove python3-pip make python3-devel flex clang ;
dnf -y install glib2-doc --setopt='tsflags='
.build
:
before_script
:
...
...
@@ -57,6 +75,7 @@ include:
script
:
# Build wireplumber
-
meson "$WP_BUILD_DIR" . --prefix="$PREFIX"
-Dintrospection=enabled -Ddoc=enabled
-
cd "$WP_BUILD_DIR"
-
ninja
-
ninja test
...
...
@@ -80,3 +99,13 @@ build_on_fedora:
-
.fdo.distribution-image@fedora
-
.build
stage
:
build
pages
:
stage
:
pages
dependencies
:
-
build_on_fedora
script
:
-
export WP_BUILD_DIR="$PWD/build-wireplumber-build_on_fedora"
-
cp -R $WP_BUILD_DIR/docs/wireplumber-doc/html/* public/
only
:
-
master
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment