Skip to content
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

build(platformio): Improve PlatformIO Configuration #101

Merged
merged 5 commits into from Jun 21, 2019
Merged

build(platformio): Improve PlatformIO Configuration #101

merged 5 commits into from Jun 21, 2019

Conversation

sleepdefic1t
Copy link
Contributor

The current configuration of PlatformIO is incorrect and causes build files to be included in the search path.
Particularly, external library dependency directories were included in their entirety.
I became aware there was an issue at #100 when AUnit released v.1.3.

Specifically, this PR does the following:

  • configures PlatformIO to create build and dep dirs in a specific location out of the search path.
  • removes the now-unneeded lib_ldf_mode keys.
  • updates the src_filter keys.
  • adds a dummy prototype file for correct CI build tests.
  • updates the changelog.

All changes are non-breaking.

What kind of change does this PR introduce?

  • Build

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

The current configuration of PlatformIO was incorrect and causes build files to be included in the search path.
Particularly, external library dependency directories were included in their entirety.
I became aware there was an issue at [cpp-crypto #100](#100) when AUnit released v.1.3.

Specifically, this PR does the following:
- configures PlatformIO to create build and dep dirs in a specific location out of the search path.
- removes the now-uneeded `lib_ldf_mode` keys.
- updates the `src_filter` keys.
- adds a dummy prototype file for correct CI build tests.
- updates the changelog.

All changes are non-breaking.
@ghost ghost added the Complexity: Low Less than 64 lines changed. label Jun 20, 2019
@ghost
Copy link

ghost commented Jun 20, 2019

The ci/circleci: build-linux-default job is failing as of 8cfdd2646b9dbbdd3077f4d6c078cd4e1ad2a717. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@ghost
Copy link

ghost commented Jun 20, 2019

The ci/circleci: build-linux-default job is failing as of 774e52a9c5cfc38ceff767d7edae8d118efae3bf. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

CI clones repos recursively.
Git submodules are not used with PlatformIO.
This commit empties git submodule folders for `linux-default`/PlatformIO CI builds.
@codecov-io
Copy link

Codecov Report

Merging #101 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #101   +/-   ##
========================================
  Coverage    91.14%   91.14%           
========================================
  Files           27       27           
  Lines          836      836           
========================================
  Hits           762      762           
  Misses          74       74

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 899c1d0...ebff797. Read the comment docs.

@faustbrian faustbrian merged commit d9322d2 into ArkEcosystemArchive:develop Jun 21, 2019
@sleepdefic1t sleepdefic1t deleted the build/improve-platformio branch June 21, 2019 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Low Less than 64 lines changed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants