-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
33 lines (28 loc) · 1 KB
/
.gitlab-ci.yml
File metadata and controls
33 lines (28 loc) · 1 KB
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
variables:
VLC30_IMAGE: registry.videolan.org/medialibrary-3.0:20231017192545
VLC40_IMAGE: registry.videolan.org/vlc-debian-unstable:20230705133021
.common_build:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "$CI_DEFAULT_BRANCH@videolan/libvlcpp"'
tags:
- docker
- amd64
script:
- export CXXFLAGS="-Werror" # Mainly to fail on deprecation errors.
- export VLC_PLUGIN_PATH="${CI_PROJECT_DIR}/build/subprojects/libvlc/modules/"
- meson setup build -Dexamples=enabled -Dtests=enabled --native-file subprojects/packagefiles/libvlc/libvlc-minimal.ini
- meson compile -C build
- meson test -C build "libvlcpp:"
artifacts:
reports:
junit: build/meson-logs/testlog.junit.xml
paths:
- ${CI_PROJECT_DIR}/build/meson-logs/testlog.txt
when: always
continuous_build_4.0:
extends: .common_build
image: $VLC40_IMAGE
continuous_build_3.0:
extends: .common_build
image: $VLC30_IMAGE