Skip to content

release: v1.3.0 #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Oct 10, 2019
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
16d4946
chore: use correct field separator in keywords.txt (#97)
per1234 May 29, 2019
f39aebe
fix(manifest): Correct Supported Platforms (#98)
sleepdefic1t Jul 2, 2019
b1f6955
feat(api): add blockchain endpoint (#104)
sleepdefic1t Jul 12, 2019
ad62ae7
refactor: update to latest Core 2.5 changes (#103)
sleepdefic1t Jul 13, 2019
8a1b721
Merge remote-tracking branch 'upstream/master' into chore(develop)/up…
sleepdefic1t Jul 15, 2019
d3c629a
fix: remove unused iostream header
sleepdefic1t Jul 15, 2019
f176b4a
test(blockchain): add missing paths test (#106)
sleepdefic1t Jul 16, 2019
389eccb
Merge branch 'develop' into chore(develop)/update-from-master
faustbrian Jul 16, 2019
7b10dc5
chore(develop): update from master (#105)
faustbrian Jul 16, 2019
9af5968
chore: Add debug support for VS Code (#116)
ciband Aug 14, 2019
da4bf7e
refactor: improve API query usage (#114)
sleepdefic1t Aug 14, 2019
c8c1fdf
chore: Update build to be out of source (#115)
ciband Aug 15, 2019
6679072
ci: add codacy configuration
faustbrian Aug 19, 2019
a842a54
style: formatting and coverage (#111)
sleepdefic1t Aug 19, 2019
8901d14
chore: Add appveyor support (#120)
ciband Sep 3, 2019
cd1ac89
feat: crypto endpoint (#122)
dated Sep 3, 2019
0cb71f0
chore: Add support for VS2019 (#119)
ciband Sep 3, 2019
5827cbf
ci: setup github action workflow for testing (#129)
faustbrian Sep 23, 2019
c1209c2
feat: add missing api endpoints (#127)
dated Sep 23, 2019
e23cc61
ci: update workflow triggers
faustbrian Sep 26, 2019
5ba9d18
ci: update arduino triggers (#132)
sleepdefic1t Sep 29, 2019
685aa07
Bug: fix windows curl (#126)
ciband Sep 30, 2019
b2b4302
ci: pass environment variables to steps (#135)
faustbrian Oct 2, 2019
97eb34b
chore(pio): use explicit package version (#139)
sleepdefic1t Oct 8, 2019
4d99aae
chore: move packages out of source (#140)
sleepdefic1t Oct 8, 2019
2394fb9
fix: clang-tidy (#138)
sleepdefic1t Oct 9, 2019
bacb7df
release: v1.3.0
sleepdefic1t Oct 9, 2019
66c2bbe
Merge branch 'master' into release/1.3.0
sleepdefic1t Oct 9, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .appveyor
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 1.0.{build}

image: Visual Studio 2017

environment:
matrix:
- CONFIGURATION: Debug
- CONFIGURATION: Release

before_build:
- cmake -D UNIT_TEST=ON -G "Visual Studio 15 2017 Win64" .

build:
project: $(APPVEYOR_BUILD_FOLDER)\ark_cpp_client.sln

test_script:
- cmd: '%APPVEYOR_BUILD_FOLDER%\Bin\%CONFIGURATION%\ark_cpp_client.exe'
17 changes: 17 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 1.0.{build}

image: Visual Studio 2017

environment:
matrix:
- CONFIGURATION: Debug
- CONFIGURATION: Release

before_build:
- cmake -D UNIT_TEST=ON -G "Visual Studio 15 2017 Win64" .

build:
project: $(APPVEYOR_BUILD_FOLDER)\ark_cpp_client.sln

test_script:
- cmd: '%APPVEYOR_BUILD_FOLDER%\test\%CONFIGURATION%\ark_cpp_client_tests.exe'
4 changes: 4 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
exclude_paths:
- '*.sh'
- '*.md'
73 changes: 42 additions & 31 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -3,50 +3,55 @@ name: Test
on:
push:
branches:
- "**"
- "*"
- "*/*"
pull_request:
types: [opened]
types: [ready_for_review, synchronize, opened]

jobs:
arduino-default:
arduino:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Make scripts executable
run: sudo chmod -R +x ./.github/workflows/test/*.sh
- name: Install
- name: Install Dependencies
run: ./.github/workflows/test/install_arduino.sh
- name: Build
- name: Build Arduino Sketch
run: ./.github/workflows/test/script_arduino.sh

linux-default:
platformio:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Make scripts executable
run: sudo chmod -R +x ./.github/workflows/test/*.sh
- name: Install
run: ./.github/workflows/test/install_platform_io.sh
- name: Install Dependencies
run: |
sudo pip install -U platformio
platformio update
- name: Build
run: ./.github/workflows/test/script_platform_io.sh
run: |
platformio run
platformio run -d ./test

linux-gcc7:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Install dependencies
- name: Install Dependencies
run: |
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get -y install g++-7 lcov cmake openssl
- name: Make scripts executable
run: sudo chmod -R +x ./.github/workflows/test/*.sh
- name: Environment variables
run: CC=gcc-7 && CXX=g++-7
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get -y install g++-7 lcov cmake openssl
- name: Build
run: ./.github/workflows/test/script_desktop.sh
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Coverage -DUNIT_TEST=ON ..
cmake --build .
- name: Run Tests
run: ./build/test/ark_cpp_client_tests
- name: Codecov upload
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}

@@ -55,16 +60,19 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Install dependencies
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get -y install clang-5.0 clang-format-5.0 clang-tidy-5.0 lcov cmake openssl
sudo apt-get update
sudo apt-get -y install clang-5.0 clang-format-5.0 clang-tidy-5.0 lcov cmake openssl
- name: Make scripts executable
run: sudo chmod -R +x ./.github/workflows/test/*.sh
- name: Environment variables
run: CC=clang-5.0 && CXX=clang++-5.0
- name: Build
run: ./.github/workflows/test/script_desktop.sh
run: |
mkdir build && cd build
cmake -DUNIT_TEST=ON ..
cmake --build .
- name: Run Tests
run: ./build/test/ark_cpp_client_tests
- name: Clang Tidy
run: ./.github/workflows/test/clang_tidy.sh
- name: Clang Format
@@ -76,9 +84,12 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: COMPILER=clang++
- name: Install dependencies
run: brew install cmake lcov
- name: Make scripts executable
run: sudo chmod -R +x ./.github/workflows/test/*.sh
- name: Install Dependencies
run: brew install cmake
- name: Build
run: ./.github/workflows/test/script_desktop.sh
run: |
mkdir build && cd build
cmake -DUNIT_TEST=ON ..
cmake --build .
- name: Run Tests
run: ./build/test/ark_cpp_client_tests
2 changes: 1 addition & 1 deletion .github/workflows/test/clang_format.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -ex

grep -nr '\s$' src test examples .gitignore .gitmodules 2>&1 > /dev/null
grep -nr '\s$' src test .gitignore 2>&1 > /dev/null
if $?; then
echo Trailing whitespace found, aborting
exit 1
4 changes: 3 additions & 1 deletion .github/workflows/test/clang_tidy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# run clang tidy
cmake -DENABLE_CLANG_TIDY=ON .
cmake -DENABLE_CLANG_TIDY=ON -DUNIT_TEST=ON .
make tidy > output.txt
#if [[ -n $(grep "warning: " output.txt) ]] || [[ -n $(grep "error: " output.txt) ]]; then
# for now only fail the test on errors. Change this as project matures
2 changes: 1 addition & 1 deletion .github/workflows/test/script_arduino.sh
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@
bash ./extras/ARDUINO_IDE.sh --auto

mkdir -p ~/Arduino/libraries/cpp-client/
mv ~/project/* ~/Arduino/libraries/cpp-client
mv ${GITHUB_WORKSPACE}/* ~/Arduino/libraries/cpp-client

arduino-cli compile --output temp.bin -b esp32:esp32:esp32 ~/Arduino/libraries/cpp-client/examples/arduino/ESP32/ESP32.ino --debug
46 changes: 12 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

/.history
/.vs
/.vscode
/bin
build
/lib
/_Base
/CMakeFiles
@@ -23,62 +23,40 @@
/test/.vscode
/test/lib/readme.txt
.DS_Store
/src/Ark-Cpp-Client-lib.dir
/src/CMakeFiles
/src/cmake_install.cmake
/src/Ark-Cpp-Client-lib.vcxproj.filters
/src/Ark-Cpp-Client-lib.vcxproj
/src/Ark-Cpp-Client-lib.sln
/src/ark_cpp_client.vcxproj.filters
/src/ark_cpp_client.vcxproj
/src/ark_cpp_client.sln
/src/ALL_BUILD.vcxproj.filters
/src/ALL_BUILD.vcxproj
/test/Ark-Cpp-Client-tests.dir
/Win32
/test/NightlyMemoryCheck.vcxproj.filters
/test/NightlyMemoryCheck.vcxproj
/test/Nightly.vcxproj.filters
/test/Nightly.vcxproj
/test/Experimental.vcxproj.filters
/test/Experimental.vcxproj
/test/DartConfiguration.tcl
/test/CTestTestfile.cmake
/test/Continuous.vcxproj.filters
/test/Continuous.vcxproj
/test/cmake_install.cmake
/test/CMakeFiles/generate.stamp.depend
/test/CMakeFiles/generate.stamp
/test/CMakeFiles
/test/Ark-Cpp-Client-tests.vcxproj.filters
/test/Ark-Cpp-Client-tests.vcxproj
/test/Ark-Cpp-Client-tests.sln
/test/ark_cpp_client_tests.vcxproj.filters
/test/ark_cpp_client_tests.vcxproj
/test/Aark_cpp_client_tests.sln
/test/ALL_BUILD.vcxproj.filters
/test/ALL_BUILD.vcxproj
/_3rdParty
/ZERO_CHECK.vcxproj.filters
/ZERO_CHECK.vcxproj
/cmake_install.cmake
/CMakeCache.txt
/Ark-Cpp-Client.sln
/ark_cpp_client.sln
/ALL_BUILD.vcxproj.filters
/ALL_BUILD.vcxproj
/src/Win32
/test/Debug
/src/Debug
/test/Release
/src/Release
/examples/cmake_example/CMakeFiles
/examples/cmake_example/CMakeCache.txt
/examples/cmake_example/Win32/
/examples/cmake_example/_3rdParty
/examples/cmake_example/lib/Debug
/examples/cmake_example/bin
/examples/cmake_example/Cpp-Client-Example.dir
/examples/cmake_example/ZERO_CHECK.vcxproj.filters
/examples/cmake_example/ZERO_CHECK.vcxproj
/examples/cmake_example/Cpp-Client-Example.vcxproj.filters
/examples/cmake_example/Cpp-Client-Example.vcxproj
/examples/cmake_example/Cpp-Client-Example.sln
/examples/cmake_example/cmake_install.cmake
/examples/cmake_example/ark_cpp_client_example.vcxproj.filters
/examples/cmake_example/ark_cpp_client_example.vcxproj
/examples/cmake_example/ark_cpp_client_example.sln
/examples/cmake_example/ALL_BUILD.vcxproj.filters
/examples/cmake_example/ALL_BUILD.vcxproj
/examples/cmake_example/Win32
/examples/cmake_example/Debug
compile_commands.json
9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

28 changes: 28 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "googletest.failed",
"settings": {
"foreground": "#f00"
}
},
{
"scope": "googletest.passed",
"settings": {
"foreground": "#0f0"
}
},
{
"scope": "googletest.run",
"settings": {
"foreground": "#0f0"
}
}
]
},
"gtest-adapter.debugConfig": [
"Debug Tests"
],
"gtest-adapter.supportLocation": true
}
19 changes: 19 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"tasks": [
{
"type": "shell",
"label": "build_tests",
"command": "cmake -DCMAKE_BUILD_TYPE=Debug . && cmake --build .",
"args": [],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
],
"version": "2.0.0"
}
Loading