+35
-4
@@ -5,9 +5,9 @@ include:
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test+docs
|
||||||
- style-checks
|
- style-checks
|
||||||
- package
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
FDO_UPSTREAM_REPO: agx/feedbackd
|
FDO_UPSTREAM_REPO: agx/feedbackd
|
||||||
@@ -82,7 +82,7 @@ build:clang:native-debian-trixie:full:
|
|||||||
test:native-debian-trixie:
|
test:native-debian-trixie:
|
||||||
<<: *image
|
<<: *image
|
||||||
<<: *before_script
|
<<: *before_script
|
||||||
stage: test
|
stage: test+docs
|
||||||
needs:
|
needs:
|
||||||
- build:gcc:native-debian-trixie:full
|
- build:gcc:native-debian-trixie:full
|
||||||
coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
|
coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
|
||||||
@@ -93,8 +93,26 @@ test:native-debian-trixie:
|
|||||||
variables:
|
variables:
|
||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
|
build-doc:
|
||||||
|
stage: test+docs
|
||||||
|
image: ${DEBIAN_IMAGE}
|
||||||
|
variables:
|
||||||
|
BUILD_OPTS: -Dtests=false -Dgtk_doc=true
|
||||||
|
<<: *image
|
||||||
|
<<: *before_script
|
||||||
|
needs: []
|
||||||
|
script:
|
||||||
|
- git clean -dfx
|
||||||
|
- 'echo "Build opts: ${BUILD_OPTS}"'
|
||||||
|
- meson setup ${BUILD_OPTS} _build
|
||||||
|
- meson compile -C _build
|
||||||
|
- mv _build/doc/libfeedback-0/ _reference/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- _reference
|
||||||
|
|
||||||
check-consistency:
|
check-consistency:
|
||||||
stage: test
|
stage: test+docs
|
||||||
extends: .phosh-check-consistency
|
extends: .phosh-check-consistency
|
||||||
|
|
||||||
format-check:
|
format-check:
|
||||||
@@ -122,3 +140,16 @@ check-commit-log:
|
|||||||
junit: commit-message-junit-report.xml
|
junit: commit-message-junit-report.xml
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH'
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH'
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- build-doc
|
||||||
|
script:
|
||||||
|
- mv _reference/ public/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user