-
Notifications
You must be signed in to change notification settings - Fork 47
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
CI Integration and Arduino/PlatformIO description files #1
Conversation
This allows to add example/ and test/ subdirs and to have a clean separation between those files and the library source files. Additionally this is required to make this library available as an Arduino and a PlatformIO library.
At the moment there is one simple build test for Arduino and PlatformIO called ArduinoBuildTest and one c++/gtest based test which tests coap_mem_get, coap_mem_size, coap_mem_release, RetrieveSocket2, AllocSocket.
…hes with an official header otherwise (/usr/include/assert.h)
Thank you, will integrate it / test it asap and post the status here. Ardruino support is nice and should be no problem since the "round" nature of the library. Greetings Tobi |
Because there is currently no buildsystem and the test directory already uses CMake, the library now also can be build with cmake. This allows easy build testing with Visual Studio, QtCreator, XCode etc and easy inclusion in other cmake based applications.
The changes are great and I try to apply them. I rebased your changes onto the current master and now the tests fail. Some major changes are:
I'm not able to run the tests locally. I wish you could provide some help to fix the tests and maybe provide some manual how to run at least the The rebased code with some efforts to fix the tests is on branch Any help to fix the tests is welcome. |
I'm travelling the world and I'm in New Zealand at the moment, so can't really adapt the pull request in the near future unfortunately. |
Okay since just the CI build is not working I might just disable the tests for now and rely on the build. There will be a chance that Arduino builds break in future until that gets fixed again. |
Until I know how to move this Pull Request to another branch I just create a new Pull Request for branch davidgraeff-rebased |
Merged in #5 |
This merge request is splitted in 6 commits.
For continous integration with travis to work, you have to add the travis service in the preferences of this repository :)
I very much like this library, it would be great if it is added to the platformio.org and arduino library manager.