Add daily build non-windows platforms#7683
Conversation
|
Linux build with |
|
macos build with |
|
@TravisEz13 Have you already considered running the tests with a bot like CoreFX team does? This is more convenient than add |
tools/travis.ps1
Outdated
There was a problem hiding this comment.
the format should be yyyyMMddhhmm ss is for seconds.
tools/travis.ps1
Outdated
There was a problem hiding this comment.
Could you add an comment about FORCE_FEATURE and FORCE_PACKAGE
9afc198 to
0be0cd6
Compare
975745d to
18cfb8f
Compare
6ec80f5 to
2f72688
Compare
2f72688 to
aa6b242
Compare
|
@adityapatwardhan your issues have been addressed as well as codefactor and the test issues |
.vsts-ci/windows.yml
Outdated
| - powershell: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhss"))" | ||
| - powershell: | | ||
| Get-ChildItem -Path env: | ||
| displayName: Capture envirenment |
| @@ -194,6 +206,13 @@ internal void ExecuteCommandAsyncHelper(Pipeline tempPipeline, out Exception exc | |||
| tempPipeline.Error.DataReady += new EventHandler(ErrorObjectStreamHandler); | |||
| PipelineFinishedWaitHandle waiterThereIsAFlyInMySoup = new PipelineFinishedWaitHandle(tempPipeline); | |||
There was a problem hiding this comment.
Please change name of the variable.
tools/travis.ps1
Outdated
| # If the current job is a pull request, the env variable 'TRAVIS_PULL_REQUEST_SHA' contains | ||
| # the commit SHA of the HEAD commit of the PR. | ||
| $commitMessage = git log --format=%B -n 1 $commitId | ||
| Write-Verbose "commitMessage: $commitMessage" -verbose |
There was a problem hiding this comment.
Should Write-Log be used here instead?
tools/travis.ps1
Outdated
| # Run a full build if the build was trigger via cron, api or the commit message contains `[Feature]` | ||
| $hasFeatureTag = $commitMessage -match '\[feature\]' | ||
| $hasPackageTag = $commitMessage -match '\[package\]' | ||
| # or the environment valiable `FORCE_FEATURE` equals `True` |
Add daily build non-windows platforms - Also, make the [Feature] tag work in VSTS for non-windows - Also, add a way to force feature tests to run - Also, fix an issue where `-workingdirectory` didn't work when running async
PR Summary
Add daily build non-windows platforms
Branched from #7658 as the windows CI is taking a long time to work out the test issues
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests