-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
29 lines (26 loc) · 944 Bytes
/
.gitlab-ci.yml
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
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0
include:
- project: sysadmin/ci-utilities
file:
- /gitlab-templates/reuse-lint.yml
- /gitlab-templates/blocks/workflow.yml
- /gitlab-templates/blocks/ci-linux-base.yml
cargo-build-test:
extends: .ci_linux_base
stage: build
image: invent-registry.kde.org/sysadmin/ci-images/suse-qt68:latest
variables:
KDECI_PLATFORM_PATH: suse-qt6.8
tags:
- Linux
script:
- git config --global --add safe.directory $CI_PROJECT_DIR
- python3 -u ci-utilities/run-ci-build.py --project $CI_PROJECT_NAME --branch $CI_COMMIT_REF_NAME --platform Linux/Qt6/Shared --only-setup-environment
- export CMAKE_PREFIX_PATH=$CI_PROJECT_DIR/_install
- export LD_LIBRARY_PATH=$CI_PROJECT_DIR/_install/lib64
- cargo build
- cargo test --no-run
- export LD_PRELOAD=/usr/lib64/libasan.so.8
- cargo test --no-fail-fast
artifacts: null