summaryrefslogtreecommitdiff
path: root/dir.common.props
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2018-11-08 08:50:37 -0800
committerGitHub <noreply@github.com>2018-11-08 08:50:37 -0800
commit8bc5616def9074d8457f85d22b1280493ad731ad (patch)
tree059d9a50f34f73924a3d168853d9ce10c39a313a /dir.common.props
parentf6e7568cc6d4901abb5e11ebc05267743a1c5205 (diff)
downloadcoreclr-8bc5616def9074d8457f85d22b1280493ad731ad.tar.gz
coreclr-8bc5616def9074d8457f85d22b1280493ad731ad.tar.bz2
coreclr-8bc5616def9074d8457f85d22b1280493ad731ad.zip
Add azure-pipelines build and test definitions (#20840)
This adds an azure pipeline definition with a matrix of product and test builds, using helix to run tests. The intention is that this definition will eventually be used for both our official build and CI testing. There is one build job for each OS/platform/arch, and one test job for each OS/platform/arch/priority/R2Rflag. The test job builds tests and then submits them to helix, passing along a number of test run modes. One helix test job will be created for each OS/platform/arch/priority/R2Rflag/helixtargetqueue/testscenario. There is a lot of work left to be done to get this up to parity with our official builds and CI, which I've tried to call out in comments.
Diffstat (limited to 'dir.common.props')
-rw-r--r--dir.common.props4
1 files changed, 3 insertions, 1 deletions
diff --git a/dir.common.props b/dir.common.props
index f94528972e..0c0096c9fb 100644
--- a/dir.common.props
+++ b/dir.common.props
@@ -22,7 +22,9 @@
<BuildType Condition="'$(__BuildType)' == 'checked'">Checked</BuildType>
<BuildOS>$(__BuildOS)</BuildOS>
- <BuildOS Condition="'$(__BuildOS)' == ''">Windows_NT</BuildOS>
+ <BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(Windows))' == 'true'">Windows_NT</BuildOS>
+ <BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(Linux))' == 'true'">Linux</BuildOS>
+ <BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(OSX))' == 'true'">OSX</BuildOS>
<Configuration Condition="'$(Configuration)' == ''">$(BuildType)</Configuration>
<Platform Condition="'$(Platform)' == ''">$(BuildArch)</Platform>