-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add daily build non-windows platforms #7683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the format should be yyyyMMddhhmm ss is for seconds.
tools/travis.ps1
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo environment
|
|
||
| tempPipeline.Output.DataReady += new EventHandler(OutputObjectStreamHandler); | ||
| tempPipeline.Error.DataReady += new EventHandler(ErrorObjectStreamHandler); | ||
| PipelineFinishedWaitHandle waiterThereIsAFlyInMySoup = new PipelineFinishedWaitHandle(tempPipeline); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo variable
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