File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,4 +116,4 @@ jobs:
116116 shell : cmd
117117 run : msbuild "%GITHUB_WORKSPACE%\ark_cpp_crypto.sln"
118118 - name : Run Tests
119- run : call "%GITHUB_WORKSPACE%\test\Debug\ark_cpp_crypto_tests"
119+ run : call "%GITHUB_WORKSPACE%\test\Debug\ark_cpp_crypto_tests"
Original file line number Diff line number Diff line change 22
33# run clang tidy
44cmake -DENABLE_CLANG_TIDY=ON -DUNIT_TEST=ON .
5+
56make tidy > output.txt
67# if [[ -n $(grep "warning: " output.txt) ]] || [[ -n $(grep "error: " output.txt) ]]; then
78# for now only fail the test on errors. Change this as project matures
Original file line number Diff line number Diff line change 1+ /* *
2+ * This file is part of Ark Cpp Crypto.
3+ *
4+ * (c) Ark Ecosystem <info@ark.io>
5+ *
6+ * For the full copyright and license information, please view the LICENSE
7+ * file that was distributed with this source code.
8+ **/
9+
10+ // This is a dummy prototype 'setup' & 'loop' for CI testing.
11+ // This isn't intended for project or production use.
12+ // It is only used in the 'pio run' command from root in CI;
13+ // successful completion of which asserts that the ARK Cpp-Crypto library builds on its own.
14+ #if (defined PLATFORMIO && !defined UNIT_TEST)
15+
16+ #include < Arduino.h>
17+
18+ void setup () {}
19+ void loop () {}
20+
21+ #endif
Original file line number Diff line number Diff line change 1+ # run desktop builds
2+ cmake . -DCMAKE_BUILD_TYPE=Coverage
3+ cmake --build .
4+
5+ # build examples
6+ cd ./examples/cmake_example
7+ cmake .
8+ cmake --build .
9+
10+ # run Gtest
11+ cd ../../
12+ ./test/Ark-Cpp-Crypto-tests
Original file line number Diff line number Diff line change 1+ # run PlatformIO builds
2+ platformio run
3+ platformio run -d ./test
Original file line number Diff line number Diff line change 1- * @ faustbrian @ kristjank @ supaiku0
1+ * @ faustbrian @ kristjank @ supaiku0 @ sleepdefic1t
You can’t perform that action at this time.
0 commit comments