-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
40 lines (34 loc) · 990 Bytes
/
.gitlab-ci.yml
File metadata and controls
40 lines (34 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
stages:
- containers
- builds
- sanity_checks
- publish
.native_build_job:
script:
- export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
- git clone --depth 1 https://gitlab.com/libvirt/libvirt-publican.git brand
- $MAKE branddir=$PWD/brand
.native_build_job_prebuilt_env:
extends:
- .native_build_job
- .gitlab_native_build_job_prebuilt_env
.native_build_job_local_env:
extends:
- .native_build_job
- .gitlab_native_build_job_local_env
include: '/ci/gitlab.yml'
# Would be called 'ubuntu-2004-docs', but it needs the
# special 'docs' name, as it is the one we publish from
pages:
image: $CI_REGISTRY_IMAGE/ci-ubuntu-2004:latest
stage: publish
needs:
- x86_64-ubuntu-2004-prebuilt-env
script:
- mv tmp/en-US/html public
rules:
- if: '$CI_PROJECT_NAMESPACE == $RUN_UPSTREAM_NAMESPACE && $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: on_success
artifacts:
paths:
- public