Skip to content

Commit 8f09243

Browse files
authored
Merge branch 'master' into release/0.7.0
2 parents b2fa520 + b05116d commit 8f09243

6 files changed

Lines changed: 39 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

.github/workflows/test/clang_tidy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# run clang tidy
44
cmake -DENABLE_CLANG_TIDY=ON -DUNIT_TEST=ON .
5+
56
make 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
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# run PlatformIO builds
2+
platformio run
3+
platformio run -d ./test

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @faustbrian @kristjank @supaiku0
1+
* @faustbrian @kristjank @supaiku0 @sleepdefic1t

0 commit comments

Comments
 (0)