ref: a0a738eb315e7907a457da3035adb645078c8e6d
parent: e4b84dedccda51e94e774d2d70498b9c86b5593f
author: Konstantin Pavlov <[email protected]>
date: Sat Mar 27 20:34:38 EDT 2021
CI: Build developer documentation while at it, bump debian image
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,12 +4,20 @@
variables:
GIT_SUBMODULE_STRATEGY: normal
-build-debian:
- image: registry.videolan.org/vlc-debian-unstable:20200529132440
+.build-common:
stage: build
+ except:
+ - schedules
+
+.build-docker:
+ extends: .build-common
tags:
- docker
- amd64
+
+build-debian:
+ extends: .build-docker
+ image: registry.videolan.org/vlc-debian-unstable:20210315112333
script:
- autoreconf -fisv
- mkdir build
@@ -18,7 +26,7 @@
- make -j $(getconf _NPROCESSORS_ONLN)
build-macos:
- stage: build
+ extends: .build-common
tags:
- catalina
- amd64
@@ -30,11 +38,8 @@
- make -j $(getconf _NPROCESSORS_ONLN)
build-win64:
+ extends: .build-docker
image: registry.videolan.org/vlc-debian-win64:20201106143728
- stage: build
- tags:
- - docker
- - amd64
script:
- autoreconf -fisv
- mkdir build
@@ -43,11 +48,8 @@
- make -j $(getconf _NPROCESSORS_ONLN)
build-win32:
+ extends: .build-docker
image: registry.videolan.org/vlc-debian-win32:20201106141924
- stage: build
- tags:
- - docker
- - amd64
script:
- autoreconf -fisv
- mkdir build
@@ -54,3 +56,19 @@
- cd build
- ../configure --host=i686-w64-mingw32
- make -j $(getconf _NPROCESSORS_ONLN)
+
+pages:
+ extends: .build-docker
+ image:
+ name: registry.videolan.org/vlc-debian-unstable:20210315112333
+ script:
+ - autoreconf -fisv
+ - ./configure
+ - make apidoc
+ - mv doc/html public
+ artifacts:
+ paths:
+ - public
+ only:
+ - schedules
+ except: