-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #604 from antonvw/develop
Version 24.04
- Loading branch information
Showing
300 changed files
with
4,961 additions
and
2,996 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
Checks: | ||
'-*, | ||
modernize-avoid-c-arrays, | ||
modernize-loop-convert, | ||
modernize-make-shared, | ||
modernize-make-unique, | ||
modernize-use-bool-literals, | ||
modernize-use-default-member-init, | ||
modernize-use-emplace, | ||
modernize-use-nullptr, | ||
modernize-use-override, | ||
modernize-use-std-print, | ||
modernize-use-starts-ends-with, | ||
modernize-use-uncaught-exceptions, | ||
modernize-use-using, | ||
performance-faster-string-find, | ||
performance-for-range-copy, | ||
performance-implicit-conversion-in-loop, | ||
performance-inefficient-algorithm, | ||
performance-inefficient-vector-operation, | ||
performance-trivially-destructable, | ||
performance-unnecessary-copy-initialization, | ||
performance-unnecessary-value-param, | ||
readability-uppercase-literal-suffix' | ||
|
||
WarningsAsErrors: '*' | ||
|
||
HeaderFileExtensions: | ||
- '' | ||
- h | ||
ImplementationFileExtensions: | ||
- c | ||
- cc | ||
- cpp | ||
HeaderFilterRegex: '' | ||
|
||
FormatStyle: 'file' | ||
|
||
CheckOptions: | ||
cert-dcl16-c.NewSuffixes: 'L;LL;LU;LLU' | ||
google-readability-namespace-comments.ShortNamespaceLines: '10' | ||
llvm-else-after-return.WarnOnUnfixable: 'false' | ||
cert-str34-c.DiagnoseSignedUnsignedCharComparisons: 'false' | ||
cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true' | ||
llvm-qualified-auto.AddConstToQualified: 'false' | ||
llvm-else-after-return.WarnOnConditionVariables: 'false' | ||
cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField: 'false' | ||
|
||
SystemHeaders: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,59 +8,56 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install boost | ||
uses: MarkusJx/[email protected].1 | ||
uses: MarkusJx/[email protected].5 | ||
id: install-boost | ||
with: | ||
# REQUIRED: Specify the required boost version | ||
# A list of supported versions can be found here: | ||
# https://github.com/actions/boost-versions/blob/main/versions-manifest.json | ||
boost_version: 1.81.0 | ||
boost_version: 1.83.0 | ||
# OPTIONAL: Specify a platform version | ||
platform_version: 20.04 | ||
|
||
- name: Install gtk | ||
run: sudo apt-get update && sudo apt-get install liblzma5 libjbig0 libgtk-3-dev | ||
|
||
- name: Install gcc, lcov, gdb | ||
run: sudo apt-get install -yq gcc-12 g++-12 lcov gdb | ||
run: sudo apt-get install -yq gcc-13 g++-13 lcov gdb | ||
|
||
- name: Install xvfb to allow headless tests | ||
run: sudo apt-get install xvfb | ||
|
||
|
||
- name: Install ninja | ||
run: sudo apt-get install ninja-build | ||
|
||
- name: Install coveralls | ||
run: sudo curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz -C /usr/local/bin | ||
|
||
- name: Install robotframework | ||
run: sudo pip install robotframework | ||
|
||
- name: Configure | ||
# adding -DwexBUILD_SAMPLES=ON should result in app running, | ||
# adding -s samples switch should result in app running, | ||
# but then the headless test keeps on running | ||
run: export CC=gcc-12 && export CXX=g++-12 && mkdir build && cd build && | ||
cmake | ||
-DCMAKE_BUILD_TYPE=Coverage | ||
-DwexGCOV=gcov-12 | ||
-DwexBUILD_TESTS=ON | ||
-DwexBUILD_GITHUB=ON | ||
-DBoost_INCLUDE_DIR=${{steps.install-boost.outputs.BOOST_ROOT}}/include | ||
-DBoost_LIBRARY_DIRS=${{steps.install-boost.outputs.BOOST_ROOT}}/lib | ||
.. | ||
run: ./build-gen.sh -b -c -g -p -t -B ${{steps.install-boost.outputs.BOOST_ROOT}} | ||
env: | ||
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} | ||
CC: gcc-13 | ||
CXX: g++-13 | ||
|
||
- name: Make | ||
run: cd build && make | ||
- name: Make using ninja | ||
run: cd build && ninja | ||
|
||
- name: Headless Test | ||
run: cd build && | ||
make lcov-prep && | ||
ninja lcov-prep && | ||
xvfb-run --auto-servernum ctest -VV && | ||
make lcov | ||
ninja lcov | ||
|
||
- name: Coveralls | ||
run: cd build && coveralls -r 9vV6skuIGeagBBkz5TCZNI12ezUv12gOj --format=lcov --file=src/app.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
|
||
sonar.sources=src | ||
sonar.exclusions=test | ||
sonar.inclusions=include/wex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.