-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Added OSX and Ubuntu 16.04 to the pr job builders. #894
Conversation
@dotnet-bot test ci please |
Retarget to master after #917 goes in |
* dotnet/master: (21 commits) fixing iteration of publish filter list Fix test expectation to match project change coming from master add "ubuntu.16.04-x64" as valid RID for RID tests Filter out System files during caching step Remove Default FX_Version, as we let it to default to CLI in usage Build with VS 15 dev tools Use Dev15 CI machines for Windows builds Don't set environment variables for VS SDK during CI runs Try fixing groovy script Set VS Install location environment variables in netci.groovy Creating an Intermediate directory for cache to work in Refactoring Crossgen and enabling parallel execution of Crossgen Fix test for new runtimeconfig.json property. Fix Global user path Fixed the download scripts to consume cli rel/1.0.0 branch Integration test for publish filter profile Adding a FilterProfile option to filter out the closure of specified list of packages Integration Test for ComposeCache Compose cache Update NuGet to include new TFMs for .NET Core 2.0. ...
@dotnet-bot test ci please |
Are we waiting on anything to merge this? @333fred @nguerrera |
It still doesn't work. See the offline mail thread. |
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.
Preventing merge based on the fact that this isn't working (see above)
@dotnet-bot test ci please |
What's the status of this? We've introduced more "OSX" specific failures in the meantime: See #965 |
@dotnet-bot test ci please |
Setting HOME appears to have made the build successful. @nguerrera, can you approve? |
Test failures on OSX, appear to be the same ones in #965. |
@@ -35,7 +35,7 @@ while [[ $# > 0 ]]; do | |||
args=( "${args[@]/$1}" ) | |||
args=( "${args[@]/$2}" ) | |||
shift | |||
;; | |||
;; |
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.
I keep seeing unrelated whitespace cleanup. Is your editor configured to do that? It's not code review friendly.
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.
Yes, my editor trims whitespace. Which works fine when I'm creating a file, but less fine when I'm not.
Working on fixing them now. |
build.sh
Outdated
if [ -z "$HOME" ]; then | ||
export HOME="$REPOROOT/.home" | ||
|
||
[ ! -d "$HOME" ] || rm -Rf $HOME |
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.
This line is terrifying. Do we really need to delete it? CI does a clean of the enlistment, right? And we don't put stuff in there.
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.
I copied it from the CliCommandLineParser repo. @jonsequitur, was there a reasoning behind deleting everything?
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.
I have an extremely strong feeling that CliCommandLineParser just copied it from
https://github.com/dotnet/cli/blob/master/build.sh#L19-L25
which came in over a year ago here:
dotnet/cli@34b0b68
with the commit message patch up some final missing CI build things
build.sh
Outdated
|
||
# Use a repo-local install directory (but not the artifacts directory because that gets cleaned a lot | ||
[ -z "$DOTNET_INSTALL_DIR" ] && export DOTNET_INSTALL_DIR=$REPOROOT/.dotnet_cli | ||
[ -d "$DOTNET_INSTALL_DIR" ] || mkdir -p $DOTNET_INSTALL_DIR | ||
|
||
# Some things depend on HOME and it may not be set. We should fix those things, but until then, we just patch a value in |
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.
This should say what things and link to bugs.
netci.groovy
Outdated
@@ -10,7 +10,7 @@ def project = GithubProject | |||
def branch = GithubBranchName | |||
def isPR = true | |||
|
|||
def osList = ['Windows_NT', 'Windows_NT_FullFramework', 'Ubuntu14.04'] | |||
def osList = ['Windows_NT', 'Windows_NT_FullFramework', 'Ubuntu14.04', 'Ubuntu16.04', 'OSX'] |
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.
Does this include 10.12?
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.
Not sure, @mmitche? What OS is the OSX host?
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.
See https://github.com/dotnet/corefx/pull/16562/files for how corefx explicitly includes 10.12
build.sh
Outdated
@@ -68,7 +68,7 @@ export NUGET_HTTP_CACHE_PATH="$REPOROOT/packages" | |||
[ -z "$DOTNET_INSTALL_DIR" ] && export DOTNET_INSTALL_DIR=$REPOROOT/.dotnet_cli | |||
[ -d "$DOTNET_INSTALL_DIR" ] || mkdir -p $DOTNET_INSTALL_DIR | |||
|
|||
# Some things depend on HOME and it may not be set. We should fix those things, but until then, we just patch a value in | |||
# NuGet depends on HOME and it may not be set. Until it's fixed, we just patch a value in |
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.
Bug filed?
test ci please |
IGNORE: I was running "master". |
@333fred @nguerrera - OSX.10.12 now passes: https://ci.dot.net/job/dotnet_sdk/job/master/job/GenPRTest/job/release_osx10.12_prtest/3/ I'll let you guys merge when ready. |
This adds OSX to the list of PR jobs so that we verify all commits on it.