new build, test and release workflow; makefile refactor; fixes to guarantee cross-platform compatibility#1
Conversation
…le on some platforms like Android and Windows. memset achieves the same functionality, is standardized, and ensures broader compatibility across systems.
There was a problem hiding this comment.
updated workflow with sqlite-sync build, test and release; the release process (which includes coverage website update) is made only in the main branch; build and tests are done also in other dev branches
There was a problem hiding this comment.
Since object files need to be built with different flags now makefile builds loadable extension object files inside build/release and unit test object files in build/test, they're then linked in the dist folder.
I've also changed variables names to easily understand them. In make test now coverage is an option, it's not always on.
Added windows def file gen and help message.
All object files are now built by the same pattern rule (the only exception is sqlite which uses different cflags)
There was a problem hiding this comment.
since the network folder now had only one folder inside I've removed one unused folder level.
There was a problem hiding this comment.
I've just moved this file, it's wrongly marked as deleted
There was a problem hiding this comment.
removed macOS compiled libcurl that was only used for development
There was a problem hiding this comment.
I've removed this duplicate of what was inside the network folder
There was a problem hiding this comment.
I've made a small change on how test functions are executed in the main to return an error number in case of errors.
| if (clone) cloudsync_memory_free(clone); | ||
|
|
||
| if (rc != SQLITE_DONE) { | ||
| if (rc != SQLITE_OK) { |
There was a problem hiding this comment.
If I'm not wrong rc is always different from SQLITE_DONE because of what's on line 2034
No description provided.