-
Notifications
You must be signed in to change notification settings - Fork 10
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 #203 from ArkEcosystem/release/v1.0.0
release: 1.0.0
- Loading branch information
Showing
231 changed files
with
13,745 additions
and
7,307 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,35 @@ | ||
name: CodeClimate Coverage | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'develop' | ||
|
||
jobs: | ||
codeclimate: | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set compiler to clang++ | ||
run: COMPILER=clang++ | ||
- name: Install Dependencies | ||
run: brew install cmake lcov | ||
- name: Make scripts executable | ||
run: sudo chmod +x ./.github/workflows/test/clang_tidy.sh | ||
- name: Setup Code Climate test-reporter | ||
run: | | ||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter | ||
chmod +x ./cc-test-reporter | ||
- name: Build & Run Coverage Tests | ||
run: | | ||
./cc-test-reporter before-build | ||
cmake -DCMAKE_BUILD_TYPE=Coverage -DUNIT_TEST=ON . | ||
cmake --build . | ||
./test/ark_cpp_crypto_tests | ||
lcov --directory . --include "*/src/*" --include "*/test/*" --exclude "*/src/lib/*" --exclude "*/extern/*" --capture --output-file coverage.info --ignore-errors gcov | ||
./cc-test-reporter format-coverage --input-type lcov coverage.info | ||
./cc-test-reporter upload-coverage | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} |
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
Empty file.
Empty file.
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
Empty file.
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 |
---|---|---|
|
@@ -6,7 +6,10 @@ mkdir -p ~/Arduino/libraries/cpp-crypto/ | |
mv ${GITHUB_WORKSPACE}/* ~/Arduino/libraries/cpp-crypto/ | ||
|
||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "[email protected]" | ||
arduino-cli lib install "[email protected]" | ||
|
||
arduino-cli compile --output temp.bin -b esp32:esp32:esp32 ~/Arduino/libraries/cpp-crypto/examples/arduino/ESP32/ESP32.ino --debug | ||
|
||
arduino-cli compile --output temp.bin -b esp8266:esp8266:nodemcu ~/Arduino/libraries/cpp-crypto/examples/arduino/ESP8266/ESP8266.ino --debug |
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,3 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
# run desktop builds | ||
cmake . -DCMAKE_BUILD_TYPE=Coverage | ||
cmake --build . | ||
|
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,3 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
# run PlatformIO builds | ||
platformio run | ||
platformio run -d ./test | ||
|
||
# platformio run -e esp8266_tests -d test | ||
platformio run -e esp32_tests -d test |
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
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,24 @@ | ||
|
||
cmake_minimum_required(VERSION 3.2) | ||
|
||
project(bcl-download) | ||
|
||
include(ExternalProject) | ||
|
||
# ------------------------------------------------------------------------------ | ||
# BCL: https://github.com/sleepdefic1t/bcl | ||
# ------------------------------------------------------------------------------ | ||
|
||
ExternalProject_Add(BCL | ||
GIT_REPOSITORY https://github.com/sleepdefic1t/bcl | ||
GIT_TAG 0.0.5 | ||
GIT_CONFIG advice.detachedHead=false | ||
SOURCE_DIR "${EXTERNAL_LIBRARY_DIR}/bcl/src" | ||
BINARY_DIR "${EXTERNAL_LIBRARY_DIR}/bcl/build" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
) | ||
|
||
# ------------------------------------------------------------------------------ |
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.