Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Stephan T. Lavavej d83bc99312
Upgrade toolset to VS 2019 16.8 Preview 1 (#1153)
Fixes #1051.
2020-08-09 14:56:45 -07:00
Stephan T. Lavavej 2b2746dd78
Add the std test suite. (#498)
* Add tests/std.

* Update other files.

NOTICE.txt
Mention the LLVM Project, as its code appears
in tests/std/tests/P0220R1_optional/test.cpp and elsewhere.

azure-devops/enforce-clang-format.cmd
Process everything within tests. This includes libcxx, std, and tr1.

docs/cgmanifest.json
Update this file for Microsoft-internal purposes. (It records the commit
hashes of repos whose source code we've incorporated into our own repo.
For llvm-project, this is distinct from the submodule's current commit.)

tests/tr1/run.pl
Mention runbe.pl in lowercase, to match the file itself.

* Improve run.pl and runbe.pl comments.
2020-02-14 14:00:55 -08:00
Stephan T. Lavavej 30031d3de4
Add the tr1 test suite. (#485)
* Add the tr1 test suite.

Works towards #144. Note that this is just the source code; the
infrastructure to automatically build and run the tests is coming soon.

Update enforce-clang-format.cmd as parallelize is recursive. (I verified
that behavior by running parallelize directly.) We don't need to mention
stl/inc's subdirectories. We can mention all of tools because
clang-format detects file extensions and the other files in tools are
fine. (In contrast, excluding stl/msbuild saves time.) Finally, add
tests/tr1 (which is why we depend on recursive behavior, due to its many
subdirectories). Also, update the git status and git diff commands to
print differences in the tests directory too.

* Add "accepted extensions" to parallelize.
2020-02-06 13:26:56 -08:00
Stephan T. Lavavej 58c5c4d628
Make enforce-clang-format.cmd also run `git diff`. (#255)
* Make `enforce-clang-format.cmd` also run `git diff`. This will produce more informative output for clang-format failures.
* Also add timeouts to every task in `run_build.yml`.
* Also remove default `targetPlatform` from `run_build.yml`. This is provided by `azure-pipelines.yml`.
2019-11-05 15:09:45 -08:00
Stephan T. Lavavej 9c1c63cd26
Enforce ASCII and whitespace conventions (#229)
Fixes #141.

* Change LF to CRLF.
* Remove UTF-8 BOMs.
* Add validate.cpp.
* Add validate to CMakeLists.txt.
* Add validate to azure-devops.
* Wrap enforce-clang-format.cmd.
* Code review feedback: abort().
* Code review feedback: Assign previous3.
* Code review feedback: Don't catch everything.
* Code review feedback: MaxErrorsForDisallowedCharacters.
* Cleanup: Remove `enabled: true`.
* Code review feedback: Character code comments.
* Code review feedback: Allow certain files to be tabby.
* Code review feedback: Use native wchar_t paths.
2019-10-30 16:22:33 -07:00
Billy O'Neal 9b2207c14e
Parallelize enforcement of clang-format (#163)
Add jobify.exe and parallelize.exe
Add a "tools" directory for test/build support tools.
Add jobify.exe from the msvc repo.
Extract parts of jobify into stljobs.h, and author wrappers for other test support.
Add parallelize.exe which runs a command in parallel over all inputs in a directory.
Teach Azure DevOps to enforce clang-format in parallel.
2019-10-08 17:12:08 -07:00
lukka d7c7691f3a Build in Azure Pipelines with cached vcpkg artifacts (#114) 2019-09-25 19:13:53 -07:00
Billy O'Neal a8e13582e9
Set up CI with Azure Pipelines that checks that sources are clang-format'd (#132)
This script runs clang-format on the sources, then runs git status --porcelain on the result, redirected to stderr. If any output goes to stderr, Azure Pipelines marks the build as failed, which enforces that no changes were made to the repo by the clang-format pass.

Resolves #88
2019-09-24 19:19:50 -07:00