-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
29 lines (28 loc) · 1006 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
stages:
- test
test-formatters:
stage: test
variables:
CMAKE_PRESET: gitlab-linux-gcc-debug
Qt5_ROOT: /QT/Qt_5.12.3_release-Ubuntu22.04-v3
before_script:
- apt-get update
- apt-get install -y software-properties-common
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
- add-apt-repository "deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
- apt-get update
- apt-get install -y lldb-17
- ln --force --symbolic /usr/bin/lldb-17 /usr/bin/lldb
script:
- python3 -m venv venv
- source venv/bin/activate
- pip install -r requirements.txt
- echo "settings set target.load-cwd-lldbinit false" > ~/.lldbinit
- flake8 --verbose lldb_qt_formatters
- pytest --junitxml=lldb_qt_formatters.xml --full-trace --verbose test
artifacts:
reports:
junit: lldb_qt_formatters.xml
tags:
- entos-desktop-build-runner