Skip to content

Commit

Permalink
Release 0.1.0 (#43)
Browse files Browse the repository at this point in the history
* Updates README

* Adds basic project structure

* Adds first version of configure batch file

* Adds git hook scripts and configuration on setup (#6)

* Changes configure batch file

* Adds sample hooks

* Adds simple git hooks

* Fixes hooksPath

* Adds configure shell script to linux (#8)

* Adds configure for Linux

* Triggers Git Hooks Activation

* Changes file permissions of git hooks

* Adds build dependencies to setup python script (#11)

* Changes configure shell script to colorize output on git bash

* First version of python setup

* Refactors import_package from setup to utils

* Refactors check_system_requirements into function

* Updates references to python setup script

* Removes vscode launch file

* Adds visual studio code to gitignore

* Refactors bash logger to its own file (#12)

* Adds a simple cpp program (#14)

* Updates Building doc

* Adds formatting configuration files (#17)

* Adds a sample program with library application and tests (#18)

* Adds vcpkg to BuildTools

* Adds solution for Windows Visual Studio

* spdlog example working on vscode

* Seems to work on VSCode and VS

* Adds runTests script (#20)

* Adds basic CI through GitHub Actions (#22)

* Adds basic CI through GitHub Actions

* Update GitHub workflow

* Fixes CI jobs without setup cpp

* Fixes target_include

* Testing lefticus workflow

* Fixes typo

* setup CI llvm version

* Fixes missing generator and build_type on CI

* Updates CI

* Experiments with string manipulation on matrix strategy

* Removes MacOS

* Adds run-tests to pre commit hooks and prompt installation on configure (#24)

* Adds LCOV to configure shell script

* Adds missing pre-commit related files

* Adds a Dockerfile to test CI scripts (#31)

* Adds basic dockerfile test

* Need to work in WSL

* WIP

* Refactoring - variable renaming

* Adds sugar stdout

* WIP

* Installing cmake automagically

* Adds option to bypass hooks configuration

* Add self-hosted windows workflow to GitHub Actions (#33)

* Starts with greeting

* Adds checkout step to windows-hosted CI workflow

* Adds configuring to CI workflow

* Adds bootstrapping vcpkg step to CI workflow

* Adds dummy steps to windows workflow

* Adds build step

* Fixes building step in CI workflow

* Fixes typos in building step of CI workflow

* Adds test step to CI workflow

* Adds matrix strategy to windows self-hosted

* Checking PATH for ccache

* Adds call to vcvarsall on windows CI workflow

* Using cmd instead of call in windows CI workflow

* Temporarily changes fail-fast to true

* Fixes checkgin ccache on CI workflow

* Testing echo PATH

* Adds aminya setup cpp GitHub Action

* Cleaning

* using Mozilla sccache instead of ccache

* Trying cppcache instead of sccacche

* Reverts back to ccache

* Removing ccache from windows CI workflow setup-cpp step

* Echo new env var CCACHE_PATH

* Adding debug info

* Adding debug info

* Adding debug info 3

* Adding debug info 4

* Cleaning

* Adds Linux job to the CI workflow (#36)

* Adds linux job to the CI workflow

* Updates cmakeMinimumRequired in CMakePreset

* Adds caching to CI workflow (#37)

* Testing cloning once and only once

* More changes

* Adds GitHub Action cache v3 to CI workflow

* Adds GitHub-Hosted-Matrix-Job

* Adds CMAKE_TOOLCHAIN_FILE to GitHub-Hosted-Matrix-Jobs

* Adds lcov to setup cpp on Matrix-Jobs CI workflow

* Updating setup-cpp on CI workflow

* dos2unix

* Adds setup LCOV to CI workflow

* Fixes typo

* WIP

* Adds setup LCOV to windows-hosted CI

* All local configurations seem to be working

* Fixes GitHub-Hosted windows-latest msvc

* Removes echo and adds build_type to ctest

* Fixes unexpected input to setup CPP on CI workflow

* Removes lcov

* Fixing windows-latest with msvc

* Fixing windows-latest with msvc 2

* Fixing windows-latest with msvc 3

* Fixing windows-latest with msvc 4

* Fixing GitHub-Hosted-Matrix-Job with msvc

* Try to cache setup-cpp installation dirs

* Revert "Try to cache setup-cpp installation dirs"

This reverts commit e8b71c7.

* Adds support for clang-tidy (#39)

* Adds antiphon clang-tidy

* Disables clang-tidy

* Adds PCH library

* Clang-tidy working on windows-msvc-dev

* Formatting

* Using default clang-tidy config

* clang-tidy working on all systems and targets

* Adds CMAKE_BUILD_TYPE to CI workflow configure cmake step
  • Loading branch information
pedroo-seaiaa authored Feb 6, 2024
1 parent 76bd438 commit 69070a8
Show file tree
Hide file tree
Showing 69 changed files with 7,016 additions and 0 deletions.
127 changes: 127 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
Language: Cpp
# BasedOnStyle: Mozilla
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: false
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeComma
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeComma
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 160
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: false
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseTab: Never
...

38 changes: 38 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# Version: 15.y.z
Checks: 'clang-diagnostic-*,clang-analyzer-*'
WarningsAsErrors: ''
# NOTE(PO): Available on Version 17.y.z
# HeaderFileExtensions:
# - ''
# - h
# - hh
# - hpp
# - hxx
# NOTE(PO): Available on Version 17.y.z
# ImplementationFileExtensions:
# - c
# - cc
# - cpp
# - cxx
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: pedroo
CheckOptions:
cert-dcl16-c.NewSuffixes: 'L;LL;LU;LLU'
google-readability-namespace-comments.ShortNamespaceLines: '10'
cert-err33-c.CheckedFunctions: '::aligned_alloc;::asctime_s;::at_quick_exit;::atexit;::bsearch;::bsearch_s;::btowc;::c16rtomb;::c32rtomb;::calloc;::clock;::cnd_broadcast;::cnd_init;::cnd_signal;::cnd_timedwait;::cnd_wait;::ctime_s;::fclose;::fflush;::fgetc;::fgetpos;::fgets;::fgetwc;::fopen;::fopen_s;::fprintf;::fprintf_s;::fputc;::fputs;::fputwc;::fputws;::fread;::freopen;::freopen_s;::fscanf;::fscanf_s;::fseek;::fsetpos;::ftell;::fwprintf;::fwprintf_s;::fwrite;::fwscanf;::fwscanf_s;::getc;::getchar;::getenv;::getenv_s;::gets_s;::getwc;::getwchar;::gmtime;::gmtime_s;::localtime;::localtime_s;::malloc;::mbrtoc16;::mbrtoc32;::mbsrtowcs;::mbsrtowcs_s;::mbstowcs;::mbstowcs_s;::memchr;::mktime;::mtx_init;::mtx_lock;::mtx_timedlock;::mtx_trylock;::mtx_unlock;::printf_s;::putc;::putwc;::raise;::realloc;::remove;::rename;::scanf;::scanf_s;::setlocale;::setvbuf;::signal;::snprintf;::snprintf_s;::sprintf;::sprintf_s;::sscanf;::sscanf_s;::strchr;::strerror_s;::strftime;::strpbrk;::strrchr;::strstr;::strtod;::strtof;::strtoimax;::strtok;::strtok_s;::strtol;::strtold;::strtoll;::strtoul;::strtoull;::strtoumax;::strxfrm;::swprintf;::swprintf_s;::swscanf;::swscanf_s;::thrd_create;::thrd_detach;::thrd_join;::thrd_sleep;::time;::timespec_get;::tmpfile;::tmpfile_s;::tmpnam;::tmpnam_s;::tss_create;::tss_get;::tss_set;::ungetc;::ungetwc;::vfprintf;::vfprintf_s;::vfscanf;::vfscanf_s;::vfwprintf;::vfwprintf_s;::vfwscanf;::vfwscanf_s;::vprintf_s;::vscanf;::vscanf_s;::vsnprintf;::vsnprintf_s;::vsprintf;::vsprintf_s;::vsscanf;::vsscanf_s;::vswprintf;::vswprintf_s;::vswscanf;::vswscanf_s;::vwprintf_s;::vwscanf;::vwscanf_s;::wcrtomb;::wcschr;::wcsftime;::wcspbrk;::wcsrchr;::wcsrtombs;::wcsrtombs_s;::wcsstr;::wcstod;::wcstof;::wcstoimax;::wcstok;::wcstok_s;::wcstol;::wcstold;::wcstoll;::wcstombs;::wcstombs_s;::wcstoul;::wcstoull;::wcstoumax;::wcsxfrm;::wctob;::wctrans;::wctype;::wmemchr;::wprintf_s;::wscanf;::wscanf_s;'
llvm-else-after-return.WarnOnUnfixable: 'false'
cert-str34-c.DiagnoseSignedUnsignedCharComparisons: 'false'
google-readability-namespace-comments.SpacesBeforeComments: '2'
cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true'
google-readability-braces-around-statements.ShortStatementLines: '1'
google-readability-function-size.StatementThreshold: '800'
llvm-qualified-auto.AddConstToQualified: 'false'
llvm-else-after-return.WarnOnConditionVariables: 'false'
cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField: 'false'
# NOTE(PO): Available on Version 17.y.z
# SystemHeaders: false
...

Loading

0 comments on commit 69070a8

Please sign in to comment.