forked from KDE/kdenlive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
58 lines (50 loc) · 1.4 KB
/
.gitlab-ci.yml
File metadata and controls
58 lines (50 loc) · 1.4 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
flatpak:
timeout: 1h 30m
include:
- project: sysadmin/ci-utilities
file:
- /gitlab-templates/reuse-lint.yml
- /gitlab-templates/linux.yml
- /gitlab-templates/freebsd.yml
- /gitlab-templates/linux-qt6.yml
- /gitlab-templates/flatpak.yml
- /gitlab-templates/craft-appimage.yml
- /gitlab-templates/craft-windows-mingw64.yml
- /gitlab-templates/craft-macos-x86-64.yml
- /gitlab-templates/craft-macos-arm64.yml
.craft-qt6:
variables:
KDECI_CRAFT_CONFIG: ci-utilities/craft/qt6/CraftConfig.ini
KDECI_CRAFT_PROJECT_CONFIG: $CI_PROJECT_DIR/src/.craft-qt6.ini
craft_appimage_x86_64-qt6:
extends:
- craft_appimage_x86_64
- .craft-qt6
craft_windows_mingw64-qt6:
extends:
- craft_windows_mingw64
- .craft-qt6
craft_macos_arm64-qt6:
extends:
- craft_macos_arm64
- .craft-qt6
craft_macos_x86_64-qt6:
extends:
- craft_macos_x86_64
- .craft-qt6
xml_lint:
stage: build
image: invent-registry.kde.org/sysadmin/ci-images/suse-qt515:latest
tags:
- Linux
script:
# enable globstar to be able to use ** as recursive wildcard
- shopt -s globstar
# exit shell on non-zero exit code
- set -e
# execute xmllint for all xml files
- for x in **/*.xml; do echo "Processing $x"; xmllint -noout "$x"; done
rules:
- changes: [ "**/*.xml" ]