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

84 Коммитов

Автор SHA1 Сообщение Дата
Stephan T. Lavavej c9a43aa819
README improvements, minor cleanups (#1226)
Co-authored-by: mnatsuhara <46756417+mnatsuhara@users.noreply.github.com>
2020-08-26 01:18:26 -07:00
Billy O'Neal 5bf2826707
Turn on /analyze (for PR/CI builds) and fix resulting warnings (#1009)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Curtis Jacques Bezault <curtbezault@gmail.com>
2020-08-25 23:43:27 -07:00
Stephan T. Lavavej ea02d35bdc
Use Standard_D16as_v4. (#1185) 2020-08-12 12:35:19 -07:00
Stephan T. Lavavej d83bc99312
Upgrade toolset to VS 2019 16.8 Preview 1 (#1153)
Fixes #1051.
2020-08-09 14:56:45 -07:00
Casey Carter 550713eba2
Update VM Scale Set to VS 2019 Preview 3 (#1015)
* Update the Azure VM Scale Set that runs the CI pipeline to VS 2019 Preview 3
* Install the `psutil` python module while provisioning VMs (Fixes #773)

Co-authored-by: Curtis Jacques Bezault <curtbezault@gmail.com>
2020-07-08 16:46:25 -07:00
Curtis J Bezault 42a82716f5
Update VMSS pool to VS 2019 16.7 Preview 2 (#851) 2020-06-19 23:38:02 -07:00
Billy O'Neal c6e0592c14
Use a cryptographically secure RNG to generate admin passwords. (#868) 2020-05-29 17:56:49 -07:00
Billy O'Neal 88f8f443bb
Apply cleanups suggested when bringing this ADO VMSS support to vcpkg (#790) 2020-05-06 19:50:22 -07:00
Curtis J Bezault 6eaf25d960
Make several improvements to the way the CI runs the tests. (#769) 2020-05-06 17:50:40 -07:00
Curtis J Bezault 31419650d4
Point TMP to the D drive (#712) 2020-04-14 11:02:36 -07:00
Curtis J Bezault 28024b4a86
Remove dependency on LLVM-Lit and fixup libcxx's lit.site.cfg to deal with upstream changes. (#710) 2020-04-14 08:10:37 -07:00
Curtis J Bezault 2f69a318b7
Use the temp disk (#701) 2020-04-14 08:10:23 -07:00
Curtis J Bezault 2597e24586
Run format validation as its own stage and enable /BE (#682) 2020-04-09 18:46:00 -07:00
Charlie Barto ad389e3836 use build_testing option to toggle tests (#666)
Previously we were using ENABLE_TESTS to toggle testing on or off. I suppose this is a little more true to what it does than BUILD_TESTING, but BUILD_TESTING is the "standard" cmake option used for this kind of stuff by many projects.

Additionally we never added ENABLE_TESTS to the cache so it didn't show up in programs like cmake-gui, so I added it to the cache with a default value of "OFF" using the option() cmake command.

Co-authored-by: Charles <barto.charlie+code@gmail.com>
2020-04-02 13:23:34 -07:00
Curtis J Bezault a1a45cc178
Add testing instructions to the README (#647)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-03-31 14:05:46 -07:00
Curtis J Bezault 811c8c1816
Add tr1 testsuite (#652) 2020-03-29 18:16:33 -07:00
Billy O'Neal ff83542af4
Update to Clang 10 and Visual Studio 2019 version 16.6p2 (#645)
* Update to Clang 10 and Visual Studio 2019 version 16.6p2

* re-clang-formats the tree to comply with new clang 10 clang-format
* updates our agents to F series VMs which are faster and cheaper for our build workloads
* defaults scale set to 0 VMs and lets the Azure Pipelines service control all resizing
* fix tests to pass with the new compilers

Co-authored by Casey Carter and Curtis Bezault
2020-03-28 18:53:15 -07:00
Curtis J Bezault 023980e72b
Try to run with fewer workers to avoid overwhelming VMs (#642) 2020-03-26 22:37:11 -07:00
Curtis J Bezault 20f21b2248
Add tests using lit as a test harness (#520) 2020-03-25 13:56:03 -07:00
Billy O'Neal b75dd43d33
Add scripts to generate new Virtual Machine Scale Sets and images for build machines (#633) 2020-03-24 14:07:46 -07:00
Curtis J Bezault 9915b312e7
Update dependencies for CI machines (#620) 2020-03-23 13:26:45 -07:00
Billy O'Neal eb31b9245a
Add Azure provisioning scripts we use for our builders. (#553) 2020-03-02 20:14:28 -08:00
Billy O'Neal cdb8e814a8
Cache the "installed" vcpkg directory only. (#576) 2020-03-02 17:18:35 -08:00
Charlie Barto 6d138d55e3
clean our repo before running CI (#526)
* workaround for #396
2020-02-24 18:46:03 -08: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
Curtis J Bezault fd04f77dd2
Build only required vcpkg ports in CI (#450)
* Only build ports for triplets we actually need
2020-01-27 15:54:29 -08:00
Stephan T. Lavavej 58bb49d63d
Improve the PR and issue templates (#288)
* Simplify paths in ISSUE_TEMPLATE.md.

* Mention WG21 papers and LWG issues in PR template.

* Exclude reference implementations.

* Increase clang-format timeout to 60 minutes.
2019-11-12 17:12:22 -08:00
Stephan T. Lavavej d9cf06ead0
Move vcpkg_windows.txt to azure-devops. (#262)
`azure-devops/run_build.yml` is the only thing that uses
`vcpkg_windows.txt`, so I don't believe that it belongs
in the root of the repo.
2019-11-06 15:26:50 -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