Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
See the building document for more information on how to get and build Verona on multiple operating systems.
When submiting patches, you need to make sure all tests pass (run ctest) and that the code is formatted accordingly.
We provide the compiler_commands.json
file for editors that use the clangd engine for code completion, and we git-ignore
meta files from common editors, like VSCode and Vim.
The tests should be run using ctest
. This will run a collection of concurrent and systematic tests of the runtime.
We use clang-format-9
on our CI bots, which will fail the pull request if the code is not formatted as expected.
The clang-format
tool doesn't guarantee backward or forward compatibility, so we have to fix a version for our CI and local development.
Both versions 8 and 10 (and therefore any other version) is incompatible with version 9 and will break the build, so you must download and use version 9.
To do so, you can choose a number of ways to download it (ex. npm, releases, apt, Arch AUR, etc), then put on your PATH before you run CMake.
A clangformat
target will be created and you can make sure you won't break the build by running that target.
We use Github issues to track bugs and features. If you found a bug or want to propose a new feature, please file an issue on our project.
We use Github pull requests for contributions in code, documents, tests, etc.
Every PR must pass the CI builds (which include CLA checks and formatting) and the appropriate set of tests on Windows, Linux (clang & gcc) and Mac, on x86_64. PRs cannot be merged if any of the tests fail.
You are not, however, required to run all these tests on your own, before submitting the PR. Running on at least one of those above and passing should be fine. We can work out the remaining issues during the review process.