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

19 Коммитов

Автор SHA1 Сообщение Дата
Chris B 36fdecf357
Update Linux build and test workflows to use lit (#4836)
* Update Linux build and test workflows to use lit

This change updates the build and test workflows in our azure pipelines
and the GitHub action for code coverage data to use lit instead of ctest
as the test runner. This adds additional test coverage by running some
of the LLVM & Clang tests.

* Fix missing dependency between LLVMAnalysis & DXIL

The default Linux linker fails because LLVMAnalysis depends on LLVMDXIL
and BFD doesn't cycle libraries.

* Updating pipelines to remove mkdir and cd

This just cleans up the pipeline shell commands to avoid unnecissary
mkdir and cd invocations.

Based on feedback from @Keenuts. Thanks!

* Disable LLVM LIT tests that use garbage collection

DXC disabled support for the LLVM garbage collection intrinsics.
2022-12-02 12:55:14 -06:00
Greg Roth 54c709f073
Update macos/linux builds to *-latest (#4815)
This updates the ADO yaml to select the latest version of the OS. In the
case of MacOS, this will still be 11 for now. For Ubuntu, it will
silence the warnings that we are using a deprecated version and save us
the headache of having to do this again.

The risk is that a new version of either OS will cause the build to
break without our intervention, but the real motivation for explicit
versions was an earlier impulse to support the minimal build system that
is no longer a priority. As for the risk, I feel it is minimal and we
can respond in a timely fashion if it should occur.
2022-11-28 10:06:18 -08:00
Helena Kotas 60b1f859ae
Update build to Visual Studio 2022 (new default); remove VS 2017 support (#4726) 2022-10-17 18:49:35 -07:00
Minmin Gong 76fed39c36
Pass parameters to CMake in a correct way (#4531) 2022-06-29 11:17:18 -07:00
Chris B b55eb88561
Convert cmake-predefined-config-params to cache (#3918)
CMake supports passing in CMake scripts via the `-C` command line
option, which can set CMake cache variables to initialize options
before the first CMakeLists file is processed. This is a portable and
shell-agnostic way of supporting what the
`cmake-predefined-config-params` file is used for.
2021-10-05 17:49:07 -05:00
Greg Roth 614472fb4d
Add an explicit python version (#3938)
Finding python3 has been a bit hit or miss. Hopefully this will make it
hit consistently
2021-09-07 17:46:35 -07:00
Greg Roth c23ea265e5
Update macos for azure (#3937)
Hopefully this will let it find the right python
2021-09-07 14:03:35 -07:00
Greg Roth 585736aaa1
Add windows builds to azdo (#3882)
Adds Windows builds previously done by appveyor to azure dev ops.

Also consolidates, cleans up, and otherwise reorganizes the previous build scripts
2021-07-15 20:19:28 -07:00
Greg Roth 1725f29746
Replace Travis CI with Azdo (#3838)
Travis went from org to com. In spite of the perfectly reasonable
assumption and explicitly stated expectation of the simplicity that
transition would involve, multiple engineers from multiple companies
failed to decipher their arcane instructions and permissions. Instead,
we've switched from leeching off of a well-meaning small outfit trying
to promote open source projects at no charge to leeching off Microsoft's
own ample resources.

This replaces all of the testing of travis with Azure Dev Ops (azdo).
The version of Ubuntu is bumped from 14.04 to 18.04, but that was
overdue. The corresponding clang and gcc versions are incremented as
well from 5 to 9 and 5 to 7 respectively with an eye toward the lowest
supported version in the current OS. The MacOS version is similarly
incremented with the clang version jumping to 11. In all cases, these
versions are the lowest azdo provides on the respective platforms.

Left out for now is the address sanitizer configuration, which was
never made blocking. The longevity of this decision is pending cross
company discussions.
2021-06-18 10:58:59 -07:00
Greg Roth 32acf397d5 adjust relative dirs for build and testing 2021-06-16 18:41:21 -06:00
Greg Roth 559c4f2093 let azdo find source dir 2021-06-16 18:38:01 -06:00
Greg Roth e6a9655eae letting azdo find build dir (maybe) 2021-06-16 18:35:34 -06:00
Greg Roth 07d49ad398 trying to fix ninja for azdo 2021-06-16 18:32:23 -06:00
Greg Roth f95e66debb fix cmake for azdo 2021-06-16 18:26:32 -06:00
Greg Roth 422059f72c adding debug info for lack of a better option 2021-06-16 18:21:48 -06:00
Greg Roth 481048eaab correcting relative path for predifined linux configs 2021-06-16 18:17:50 -06:00
Greg Roth 8281a6b463 Find CMake config for azdo 2021-06-16 18:15:17 -06:00
Greg Roth 2c45b3a389 Correct typos in azure pipeline 2021-06-16 16:51:44 -06:00
Greg Roth 4ccf9d179a Set up CI with Azure Pipelines
First crack at this. I'm sure there are problems. Just builds Linux with clang8 for now [skip ci]
2021-06-16 16:48:52 -06:00