aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2022-04-29 11:14:27 +0200
committerRenaud G <renaud@rolisteam.org>2022-04-29 11:14:27 +0200
commitb5c91675be7b61b90d4f189f8e44337a6eb53fab (patch)
tree21413b816c2113b01204e8ea8d45c2dad9e17458
parent07c5f6ec23fcf9237a24e71adcfacabce677f818 (diff)
downloadOneRoll-b5c91675be7b61b90d4f189f8e44337a6eb53fab.tar.gz
OneRoll-b5c91675be7b61b90d4f189f8e44337a6eb53fab.zip
try to set up KDE CI.
-rw-r--r--.gitlab-ci.yml62
1 files changed, 4 insertions, 58 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0bd22d..650877a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,59 +1,5 @@
-cppcheck:
- image: ubuntu:bionic
- before_script:
- - apt update
- - apt install -y --no-install-recommands cppcheck=1.82-1 doxygen clang clang-tools-extra
- - cppcheck --version
- script:
- - cppcheck ./*.cpp --verbose --enable=all --inconclusive --
+# SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
+# SPDX-License-Identifier: CC0-1.0
-
-clang-tidy:
- image: ubuntu:bionic
- before_script:
- - apt update
- - apt install -y --no-install-recommands clang clang-tools-extra
- - clang-tidy --version
- script:
- - clang-tidy -warnings-as-errors="*" -checks="-*,clang-analyze"
-
-
-doxygen:
- image: ubuntu:bionic
- before_script:
- - apt update
- - apt install -y --no-install-recommands doxygen
- - doxygen --version
- - mkdir -p build/docs
- script:
- - doxygen docs/Doxyfile
- artifacts:
- paths:
- - build/docs/html
-
-
-
-
-
-
-build:
- image: gcc
-#include:
- #- https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-before.yml
- #- https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-applications-linux.yml
- stage: build
- before_script:
- - apt update && apt -y install make cmake qt5-default libqt5network5 libqt5test5 libqt5core5a
- script:
- - mkdir -p build && cd build
- - cmake .. -DCMAKE_BUILD_TYPE=Release
- - cmake --build .
- artifacts:
- paths:
- - build/libdiceparser.so.1.9.0
- - build/cli/bin/dice
- # run tests using the binary built before
- test:
- stage: test
- script:
- - make test
+include:
+ - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml