Compare commits
4 Commits
aa52f57dd2
...
ba15af7b71
Author | SHA1 | Date | |
---|---|---|---|
ba15af7b71 | |||
61742aa3e0 | |||
4e9d3f595d | |||
e54a254122 |
321
.clang-tidy
Normal file
321
.clang-tidy
Normal file
@ -0,0 +1,321 @@
|
|||||||
|
---
|
||||||
|
Checks: '-*,
|
||||||
|
bugprone-*,
|
||||||
|
clang-analyzer-*,
|
||||||
|
cppcoreguidelines-*,
|
||||||
|
google-*,
|
||||||
|
llvm-*,
|
||||||
|
misc-*,
|
||||||
|
modernize-*,
|
||||||
|
readability-*,
|
||||||
|
performance-*,
|
||||||
|
portability-*,
|
||||||
|
-cppcoreguidelines-owning-memory,
|
||||||
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
||||||
|
-readability-magic-numbers,
|
||||||
|
-readability-else-after-return,
|
||||||
|
-modernize-use-trailing-return-type,
|
||||||
|
-modernize-avoid-c-arrays,
|
||||||
|
-performance-no-automatic-move,
|
||||||
|
'
|
||||||
|
|
||||||
|
CheckOptions:
|
||||||
|
- key: readability-identifier-naming.AbstractClassCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.AbstractClassPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.AbstractClassSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.ClassPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassConstantCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.ClassConstantPrefix
|
||||||
|
value: 'k_'
|
||||||
|
- key: readability-identifier-naming.ClassConstantSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassMemberCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ClassMemberPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassMemberSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassMethodCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ClassMethodPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ClassMethodSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstantCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.ConstantPrefix
|
||||||
|
value: 'k_'
|
||||||
|
- key: readability-identifier-naming.ConstantSuffix
|
||||||
|
value: POST
|
||||||
|
- key: readability-identifier-naming.ConstantMemberCase
|
||||||
|
value: 'lower_case'
|
||||||
|
- key: readability-identifier-naming.ConstantMemberPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstantMemberSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstantParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ConstantParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstantParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstantPointerParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ConstantPointerParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstantPointerParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstexprFunctionCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ConstexprFunctionPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstexprFunctionSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstexprMethodCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ConstexprMethodPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstexprMethodSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstexprVariableCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.ConstexprVariablePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ConstexprVariableSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.EnumCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.EnumPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.EnumSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.EnumConstantCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.EnumConstantPrefix
|
||||||
|
value: 'k_'
|
||||||
|
- key: readability-identifier-naming.EnumConstantSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.FunctionCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.FunctionPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.FunctionSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalConstantCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.GlobalConstantPrefix
|
||||||
|
value: 'k_'
|
||||||
|
- key: readability-identifier-naming.GlobalConstantSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalConstantPointerCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.GlobalConstantPointerPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalConstantPointerSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalFunctionCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.GlobalFunctionPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalFunctionSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalPointerCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.GlobalPointerPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalPointerSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalVariableCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.GlobalVariablePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GlobalVariableSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.IgnoreMainLikeFunctions
|
||||||
|
value: 1
|
||||||
|
- key: readability-identifier-naming.InlineNamespaceCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.InlineNamespacePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.InlineNamespaceSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalConstantCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.LocalConstantPrefix
|
||||||
|
value: 'k_'
|
||||||
|
- key: readability-identifier-naming.LocalConstantSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalConstantPointerCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.LocalConstantPointerPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalConstantPointerSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalPointerCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.LocalPointerPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalPointerSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalVariableCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.LocalVariablePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.LocalVariableSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.MemberCase
|
||||||
|
value: UPPER_CASE
|
||||||
|
- key: readability-identifier-naming.MemberPrefix
|
||||||
|
value: PRE
|
||||||
|
- key: readability-identifier-naming.MemberSuffix
|
||||||
|
value: POST
|
||||||
|
- key: readability-identifier-naming.MethodCase
|
||||||
|
value: UPPER_CASE
|
||||||
|
- key: readability-identifier-naming.MethodPrefix
|
||||||
|
value: PRE
|
||||||
|
- key: readability-identifier-naming.MethodSuffix
|
||||||
|
value: POST
|
||||||
|
- key: readability-identifier-naming.NamespaceCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.NamespacePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.NamespaceSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ParameterPackCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ParameterPackPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ParameterPackSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PointerParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.PointerParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PointerParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PrivateMemberCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.PrivateMemberPrefix
|
||||||
|
value: 'm_'
|
||||||
|
- key: readability-identifier-naming.PrivateMemberSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PrivateMethodCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.PrivateMethodPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PrivateMethodSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ProtectedMemberCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ProtectedMemberPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ProtectedMemberSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ProtectedMethodCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ProtectedMethodPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ProtectedMethodSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PublicMemberCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.PublicMemberPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PublicMemberSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PublicMethodCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.PublicMethodPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.PublicMethodSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.StaticConstantCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.StaticConstantPrefix
|
||||||
|
value: 'k_'
|
||||||
|
- key: readability-identifier-naming.StaticConstantSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.StaticVariableCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.StaticVariablePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.StaticVariableSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.StructCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.StructPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.StructSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TemplateParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.TemplateParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TemplateParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TemplateTemplateParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.TemplateTemplateParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TemplateTemplateParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TypeAliasCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.TypeAliasPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TypeAliasSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TypedefCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.TypedefPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TypedefSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TypeTemplateParameterCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.TypeTemplateParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.TypeTemplateParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.UnionCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.UnionPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.UnionSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ValueTemplateParameterCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.ValueTemplateParameterPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ValueTemplateParameterSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.VariableCase
|
||||||
|
value: lower_case
|
||||||
|
- key: readability-identifier-naming.VariablePrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.VariableSuffix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.VirtualMethodCase
|
||||||
|
value: camelBack
|
||||||
|
- key: readability-identifier-naming.VirtualMethodPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.VirtualMethodSuffix
|
||||||
|
value: ''
|
||||||
|
...
|
||||||
|
|
200
.gitignore
vendored
Normal file
200
.gitignore
vendored
Normal file
@ -0,0 +1,200 @@
|
|||||||
|
# Каталог для результатов сборки проекта
|
||||||
|
_build
|
||||||
|
|
||||||
|
# Каталог для тестирования установки
|
||||||
|
_output
|
||||||
|
|
||||||
|
# Файлы настроек, редактируемые во время отладки,
|
||||||
|
# за исключением шаблонных файлов
|
||||||
|
files/etc/*.conf
|
||||||
|
!files/etc/*.example.conf
|
||||||
|
|
||||||
|
# Каталоги, в которые разрешена запись данных во время работы программы
|
||||||
|
files/lib/*
|
||||||
|
files/log/*
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Общие настройки для C, C++, Fortran, Qt, CMake, Ninja, LaTeX и редакторов
|
||||||
|
###
|
||||||
|
|
||||||
|
###
|
||||||
|
### Временные файлы текстовых редакторов
|
||||||
|
###
|
||||||
|
*.bak
|
||||||
|
*.gho
|
||||||
|
*.tmp
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### LyX
|
||||||
|
###
|
||||||
|
*.lyx~
|
||||||
|
*.lyx#
|
||||||
|
|
||||||
|
###
|
||||||
|
### Vim
|
||||||
|
###
|
||||||
|
# Swap
|
||||||
|
[._]*.s[a-v][a-z]
|
||||||
|
!*.svg # comment out if you don't need vector files
|
||||||
|
[._]*.sw[a-p]
|
||||||
|
[._]s[a-rt-v][a-z]
|
||||||
|
[._]ss[a-gi-z]
|
||||||
|
[._]sw[a-p]
|
||||||
|
|
||||||
|
# Temporary
|
||||||
|
.netrwhist
|
||||||
|
*~
|
||||||
|
# Auto-generated tag files
|
||||||
|
tags
|
||||||
|
# Persistent undo
|
||||||
|
[._]*.un~
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### C++
|
||||||
|
###
|
||||||
|
|
||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Compiled Object files
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Compiled Dynamic libraries
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
*.dll
|
||||||
|
|
||||||
|
# Fortran module files
|
||||||
|
*.mod
|
||||||
|
*.smod
|
||||||
|
|
||||||
|
# Compiled Static libraries
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### CMake
|
||||||
|
###
|
||||||
|
CMakeLists.txt.user
|
||||||
|
CMakeCache.txt
|
||||||
|
CMakeFiles
|
||||||
|
CMakeScripts
|
||||||
|
Testing
|
||||||
|
Makefile
|
||||||
|
cmake_install.cmake
|
||||||
|
install_manifest.txt
|
||||||
|
compile_commands.json
|
||||||
|
CTestTestfile.cmake
|
||||||
|
_deps
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Ninja
|
||||||
|
###
|
||||||
|
.ninja_deps
|
||||||
|
.ninja_log
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### GCC coverage testing tool files
|
||||||
|
###
|
||||||
|
*.gcno
|
||||||
|
*.gcda
|
||||||
|
*.gcov
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Qt
|
||||||
|
###
|
||||||
|
object_script.*.Release
|
||||||
|
object_script.*.Debug
|
||||||
|
*_plugin_import.cpp
|
||||||
|
/.qmake.cache
|
||||||
|
/.qmake.stash
|
||||||
|
*.pro.user
|
||||||
|
*.pro.user.*
|
||||||
|
*.qbs.user
|
||||||
|
*.qbs.user.*
|
||||||
|
*.moc
|
||||||
|
moc_*.cpp
|
||||||
|
moc_*.h
|
||||||
|
qrc_*.cpp
|
||||||
|
ui_*.h
|
||||||
|
*.qmlc
|
||||||
|
*.jsc
|
||||||
|
Makefile*
|
||||||
|
*build-*
|
||||||
|
*.qm
|
||||||
|
*.prl
|
||||||
|
|
||||||
|
# Qt unit tests
|
||||||
|
target_wrapper.*
|
||||||
|
|
||||||
|
# QtCreator
|
||||||
|
*.autosave
|
||||||
|
|
||||||
|
# QtCreator Qml
|
||||||
|
*.qmlproject.user
|
||||||
|
*.qmlproject.user.*
|
||||||
|
|
||||||
|
# QtCreator local machine specific files for imported projects
|
||||||
|
*creator.user*
|
||||||
|
|
||||||
|
*_qmlcache.qrc
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Latex
|
||||||
|
###
|
||||||
|
*.acn
|
||||||
|
*.acr
|
||||||
|
*.alg
|
||||||
|
*.aux
|
||||||
|
*.bbl
|
||||||
|
*.blg
|
||||||
|
*.dvi
|
||||||
|
*.fdb_latexmk
|
||||||
|
*.glg
|
||||||
|
*.glo
|
||||||
|
*.gls
|
||||||
|
*.idx
|
||||||
|
*.ilg
|
||||||
|
*.ind
|
||||||
|
*.ist
|
||||||
|
*.lof
|
||||||
|
*.log
|
||||||
|
*.lot
|
||||||
|
*.maf
|
||||||
|
*.mtc
|
||||||
|
*.mtc0
|
||||||
|
*.nav
|
||||||
|
*.nlo
|
||||||
|
*.out
|
||||||
|
*.pdfsync
|
||||||
|
*.ps
|
||||||
|
*.snm
|
||||||
|
*.synctex.gz
|
||||||
|
*.toc
|
||||||
|
*.vrb
|
||||||
|
*.xdy
|
||||||
|
*.tdo
|
||||||
|
|
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
include:
|
||||||
|
- local: .gitlab-ci/scheduled.yml
|
||||||
|
|
||||||
|
smolensk15-nightly:
|
||||||
|
variables:
|
||||||
|
UPDATE_CMD: apt-get update
|
||||||
|
INSTALL_CMD: apt-get -y install cmake
|
||||||
|
extends: .scheduled-smolensk15
|
||||||
|
|
||||||
|
orel212-nightly:
|
||||||
|
extends: .scheduled-orel212
|
||||||
|
|
||||||
|
bionic-nightly:
|
||||||
|
extends: .scheduled-bionic
|
||||||
|
|
||||||
|
focal-nightly:
|
||||||
|
extends: .scheduled-focal
|
||||||
|
|
||||||
|
elbrus-nightly:
|
||||||
|
extends: .scheduled-elbrus
|
||||||
|
|
78
.gitlab-ci/scheduled.yml
Normal file
78
.gitlab-ci/scheduled.yml
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
GET_SOURCES_ATTEMPTS: 10
|
||||||
|
|
||||||
|
.scheduled-test:
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- schedules
|
||||||
|
cache:
|
||||||
|
paths: ['*.status']
|
||||||
|
before_script:
|
||||||
|
- >
|
||||||
|
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||||
|
if [ "$(cat ${CI_JOB_NAME}.status)" == "${CI_COMMIT_SHA}" ]; then
|
||||||
|
echo "=== Commit ${CI_COMMIT_SHORT_SHA} already tested with job ${CI_JOB_NAME} ==="
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
- >
|
||||||
|
if [ -n "${UPDATE_CMD}" ]; then
|
||||||
|
${UPDATE_CMD}
|
||||||
|
fi
|
||||||
|
- >
|
||||||
|
if [ -n "${INSTALL_CMD}" ]; then
|
||||||
|
${INSTALL_CMD}
|
||||||
|
fi
|
||||||
|
script:
|
||||||
|
- >
|
||||||
|
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||||
|
if [ "$(cat ${CI_JOB_NAME}.status)" == "${CI_COMMIT_SHA}" ]; then
|
||||||
|
echo "=== Commit ${CI_COMMIT_SHORT_SHA} already tested with job ${CI_JOB_NAME} ==="
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
- rm -f ${CI_JOB_NAME}.status
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis ..
|
||||||
|
- ninja
|
||||||
|
- >
|
||||||
|
if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then
|
||||||
|
ninja install
|
||||||
|
ninja package
|
||||||
|
ninja package_source
|
||||||
|
fi
|
||||||
|
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build/*.xz
|
||||||
|
- build/*.deb
|
||||||
|
when: on_success
|
||||||
|
expire_in: 10 days
|
||||||
|
|
||||||
|
|
||||||
|
.scheduled-smolensk15:
|
||||||
|
extends: .scheduled-test
|
||||||
|
image: smolensk15-dev
|
||||||
|
tags: ['docker']
|
||||||
|
|
||||||
|
.scheduled-orel212:
|
||||||
|
extends: .scheduled-test
|
||||||
|
image: orel212-dev
|
||||||
|
tags: ['docker']
|
||||||
|
|
||||||
|
.scheduled-bionic:
|
||||||
|
extends: .scheduled-test
|
||||||
|
image: bionic-dev
|
||||||
|
tags: ['docker']
|
||||||
|
|
||||||
|
.scheduled-focal:
|
||||||
|
extends: .scheduled-test
|
||||||
|
image: focal-dev
|
||||||
|
tags: ['docker']
|
||||||
|
|
||||||
|
.scheduled-elbrus:
|
||||||
|
extends: .scheduled-test
|
||||||
|
tags: ['elbrus']
|
||||||
|
|
0
doc/breathe/index.md.in
Normal file
0
doc/breathe/index.md.in
Normal file
0
files/data/.keep-directory
Normal file
0
files/data/.keep-directory
Normal file
0
files/etc/.keep-directory
Normal file
0
files/etc/.keep-directory
Normal file
0
files/lib/.keep-directory
Normal file
0
files/lib/.keep-directory
Normal file
0
files/log/.keep-directory
Normal file
0
files/log/.keep-directory
Normal file
Loading…
x
Reference in New Issue
Block a user