Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add azure-pipelines
azure-pipelines-template.yml build the application and run the test (it basically does the same as the .travis.yml file, but faster). As in seissol, we could test the build with different option, by adding parameters, see https://github.com/SeisSol/SeisSol/blob/master/azure-pipelines.yml
azure-pipelines-clang-format.yml verify that the src, app, and test are formated accorded to clang-format-11.
(it is copied and adapted from SeisSol)
None of the tests currently pass (https://tulrich.visualstudio.com/thomasulrich/_build/results?buildId=60&view=results), because:
a few files are not clang-formatted
the doctest.h is too old
These 2 problems are addressed by separated #56 and #57.
The PR is ready, but, I would suggest first reviewing and merging #56 and #57 into #55, therefore draft.
Note, we also need to register the workflow to visualstudio.com, but I don't have the rights to do so
(therefore I only tested on my fork).