Krzysztof Wicher
8d6e548ada
Merge pull request #741 from krwq/fix_nupkg
...
fix producing nuget packages during the build
2016-01-06 22:09:13 -08:00
Senthil
b11ac0160f
Refactoring for corehost servicing
2016-01-06 18:15:41 -08:00
Krzysztof Wicher
4d455ad230
fix producing nuget packages during the build
2016-01-06 17:27:44 -08:00
Bryan
17176edb80
Remove StreamForwarder Tests from E2E
2016-01-06 15:30:56 -08:00
piotrp
08dd628172
create dotnet-restore.exe
2016-01-06 01:46:10 -08:00
Piotr Puszkiewicz
6b1e11a1c9
Merge pull request #722 from Sridhar-MS/centos-tests
...
Enable running tests for CentOS
2016-01-06 01:14:04 -08:00
Sridhar Periyasamy
2ebb28819e
Enable running tests for CentOS
...
CentOS tests were blocked due to issue https://github.com/dotnet/corefx/issues/5066 .
It has been fixed with the latest NetStandardLibrary, hence upgrading from 1.0.0-rc2-23616 to 1.0.0-rc2-23704.
With this fix the native shims are correctly restored by dnx for RID centos.7-x64.
2016-01-05 18:11:38 -08:00
Bryan
6f2002b896
Enable visual xunit results.
...
Fixup xml test results name
2016-01-05 15:54:50 -08:00
Bryan Thornbury
697e99ea6e
Merge pull request #675 from brthor/native_subdirectory_support
...
Use subdirectories in publish for native
2016-01-05 11:55:58 -08:00
piotrp
9071d1f40f
--quiet flag
2016-01-05 01:42:16 -08:00
piotrp
570cda0bad
fix syntax
2016-01-05 00:57:21 -08:00
piotrp
b980f061d5
Allow NuGet cache for non-CI builds
2016-01-05 00:37:23 -08:00
piotrp
f4b31b80d9
Fix comment
2016-01-04 19:32:10 -08:00
piotrp
ef4f62c87d
Enable crossgen of Stage 1 compiler
...
Eliminate differences between compiling stage 1 and stage 2 to reduce complexity
2016-01-04 19:32:09 -08:00
Troy Dai
20205c4f02
Save dotnet-projectmodel-server.exe to output
2016-01-04 17:48:34 -08:00
Bryan
89de0c2172
Use --native-subdirectory when publishing cli projects.
...
This gives support for files to publish in subdirectories
from dependency nuget packages.
Additionally Change Native Compilation to consume these paths.
2016-01-04 14:42:49 -08:00
Bryan Thornbury
7ddbb5d5e3
Source Common in check-prereqs.sh
...
Fixes #671
2015-12-30 10:34:00 -08:00
Piotr Puszkiewicz
63abe9ce1d
Merge pull request #661 from blackdwarf/manpages
...
Add manual pages for current commands
2015-12-29 23:08:51 -08:00
Piotr Puszkiewicz
f1587a4c0e
Allow two-part OS X version numbers
2015-12-29 20:16:05 -08:00
Bryan
7b89cceed5
Enable copying manpages from documentation folder to package_layout_dir for consumption by package_tool and ultimately inclusion in the debian package
2015-12-29 16:44:46 -08:00
Piotr Puszkiewicz
9df40f9c01
prevent sourced files from leaking unintended state to callers
2015-12-29 12:40:39 -08:00
Piotr Puszkiewicz
e91db7dce1
Eliminate dead code and most relative paths
2015-12-29 02:34:10 -08:00
Piotr Puszkiewicz
4b217db9c0
Clean up build scripts
...
Decompose into self-contained granular components
Provide reasonable defaults for cross cutting concerns, allowing for independent execution of steps
Start unifying Windows/Bash architecture
fix Bash CI scripts
dockerbuild.sh _common.sh path
Add missing restore-packages.sh
Copy/paste issues
Quote $SOURCE
fix .gitignore
PR Feedback
Merge in @SridarMS's work to avoid redownloading DNX
enabling build of dotnet-build
merge in @SridharMS's CentOS changes
Enable building FSC
enable restoring specific subdirectories
Fix dnx version check
Add missed dependency
Fix pathing to tests
Match Linux build version to Windows, fixing linux tests as a side effect.
workaround for coreclr#2215
fix pathing issue
disable building in docker
BUILD_IN_DOCKER was set, somehow...
fix headers
2015-12-29 01:59:02 -08:00
Piotr Puszkiewicz
d1a257bff7
Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
...
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Troy Dai
935cd4e281
Add ProjectModel server
2015-12-25 13:23:29 -08:00
Piotr Puszkiewicz
27794b89ae
Merge pull request #538 from enricosada/add_fsc_compiler
...
Add F# ( command dotnet-compile-fsc )
CentOS checks are still experimental, so ignoring.
2015-12-24 23:01:14 -08:00
Sridhar Periyasamy
3bf39fcf1f
Update ci_build.sh
...
Do not package inside docker container for centos.
2015-12-24 21:38:45 -08:00
Enrico Sada
d52bc92155
add command dotnet-compile-fsc
...
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00
Mihai Codoban
110b30ccdc
Extract build from compile
...
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Sridhar Periyasamy
3363707704
Merge branch 'master' of https://github.com/dotnet/cli into centos-builds
...
Conflicts:
scripts/compile.sh
scripts/test/smoke-test.sh
2015-12-23 16:22:59 -08:00
Sridhar Periyasamy
3a2b87a92d
Fix to not download Dnx always during a build.
2015-12-18 17:04:29 -08:00
Sridhar Periyasamy
3395b43bd9
Merge pull request #508 from Sridhar-MS/publish-tests2
...
Dotnet publish tests
2015-12-18 15:36:29 -08:00
Piotr Puszkiewicz
f17a2dbb93
Merge pull request #544 from piotrpMSFT/piotrpMSFT/260/offlineBuilds
...
Offline builds. Fixes #260 .
On Windows, build.cmd -Offline
@brthor is adding a parameter option for Linux/Mac
2015-12-18 14:50:37 -08:00
piotrp
0bcc899ce3
Make default Online
2015-12-18 12:48:37 -08:00
Sridhar Periyasamy
1db27b7ae3
Enable building dotnet-CLI for centos.
...
I had to patch up a redhat dnx package which supports NETStandard.Library package. It is currently uploaded to dotnet-cli blob storage. This hack will no longer be required when we move to xplat nuget to do 'dotnet restore'. Apart from this there are three issues that are tracked for centos.
- compile-native not yet supported - https://github.com/dotnet/cli/issues/453
- dnu restore crashes intermittently on centos. I need to investigate this a little bit more and file issues on dnx or coreclr. This will make our CI builds very flaky.
- Dotnet restore does not restore native shims when using “centos.7-x64” - https://github.com/dotnet/corefx/issues/5066
2015-12-18 11:32:20 -08:00
Sridhar Periyasamy
b43a1a34a8
Update ci_build.sh
...
Removing dead code which is no longer used. DOTNET_BUILD_VERSION is set in build.sh.
2015-12-17 18:39:41 -08:00
Sridhar Periyasamy
55b9697b74
Merge branch 'master' of https://github.com/dotnet/cli into publish-tests2
2015-12-17 18:16:33 -08:00
Bryan Thornbury
344d010610
Linux Port of offline build
2015-12-17 18:05:36 -08:00
piotrp
7c722b3fe4
Offline builds on Windows
2015-12-17 18:02:44 -08:00
Sridhar Periyasamy
0b17cc122c
Merge pull request #521 from Sridhar-MS/centos-fixes
...
Scripts changes to accomodate centos builds.
2015-12-17 17:57:43 -08:00
Andrew Stanton-Nurse
1b247311bf
fix install script
2015-12-17 11:55:44 -08:00
Bryan Thornbury
3fd3daa51a
Merge pull request #487 from brthor/project_validator
...
Multi Project Validation
2015-12-16 16:47:51 -08:00
Bryan
3b848c0487
Change Output format to match PR feedback
...
Don't use Environment.Exit()
PR Feedback, Unecessary Usings and Immutable types
2015-12-16 14:12:24 -08:00
Sridhar Periyasamy
6046de8efe
Address PR feedback.
2015-12-16 13:04:29 -08:00
Bryan
bfa9710d52
update crossgen scripts to 23616
2015-12-16 11:48:39 -08:00
Bryan
64c06f7158
Change Roslyn scripts to reference the right runtime version
2015-12-16 11:48:05 -08:00
Sridhar Periyasamy
8f228f446a
Update publish.ps1
...
Redirect azure storage command line output to console. Need this to diagnose azure CLI issues in the VSO CI.
2015-12-15 19:10:06 -08:00
Sridhar Periyasamy
67ad2a8fab
Scripts changes to accomodate centos builds.
...
Does not contain changes to actually build CLI on centos.
2015-12-15 18:15:31 -08:00
Sridhar Periyasamy
f7ae98eb1d
Fix runtests.sh
2015-12-15 09:46:21 -08:00
Sridhar Periyasamy
f910bc9eff
Merge branch 'publish-tests1' of https://github.com/sridhar-ms/cli
2015-12-14 17:42:22 -08:00
Sridhar Periyasamy
07eb7ef28f
Dotnet publish tests
2015-12-14 17:39:29 -08:00
Bryan
dd5c0bb423
do not fail build on pjvalidate failure
2015-12-14 15:15:02 -08:00
Bryan
d502f3d57e
Add Project Validation to build scripts. Fail on a failed analysis.
2015-12-11 14:24:06 -08:00
Krzysztof Wicher
1115fc22fa
Merge pull request #449 from krwq/ci_build_add_packaging
...
Fix versions bug when creating NuPkg
2015-12-10 15:34:52 -08:00
Bryan
2ba6dbd630
Downgrade runtime version to get unblocked on CoreCLR bug. Fix some other dependency versions
2015-12-09 21:23:02 -08:00
Bryan
1d764f1c64
download dnx during the build
2015-12-09 21:23:01 -08:00
Krzysztof Wicher
bd6519d665
unify versions on binaries and nupkgs
2015-12-09 14:56:39 -08:00
Krzysztof Wicher
3a58e8a7d7
make copyright header a comment and not an information text
2015-12-09 00:20:39 -08:00
Krzysztof Wicher
822ae54281
change versions in nupkgs
2015-12-09 00:20:38 -08:00
piotrp
568eb3aae7
dotnet-init --> dotnet new
...
Fixes issue #374
2015-12-08 10:37:31 -08:00
Piotr Puszkiewicz
88806eb7de
Merge pull request #378 from krwq/ci_build_add_packaging
...
Step 1 to enable automatic nuget package upload
2015-12-07 10:04:30 -08:00
Krzysztof Wicher
413488f502
Create NuGet packages as part of the build
2015-12-04 18:03:57 -08:00
Bryan
216adc198e
delete staging directory before bringing down bats to avoid conflicts
2015-12-04 17:24:30 -08:00
Bryan Thornbury
aa248df73c
disable E2E test for debian package
2015-12-03 00:26:05 +00:00
Bryan Thornbury
a93e9111d7
Tweak restoration and dependencies
2015-12-03 00:01:19 +00:00
Bryan Thornbury
64523881e7
More small fixes, will squash these commits
2015-12-02 23:11:45 +00:00
Bryan Thornbury
c2d04d51b1
Changes to propagate errors in package build.
2015-12-02 22:11:31 +00:00
Piotr Puszkiewicz
4f132a14d2
Merge pull request #358 from krwq/nuget_packaging
...
Nuget packages generation script for each project under src/ and some bugfixes
2015-12-02 01:03:00 -08:00
Piotr Puszkiewicz
9fb5da0aee
Merge pull request #347 from dotnet/anurse/157-publish-tidy-up
...
avoid dropping deps file when publishing
2015-12-02 00:45:56 -08:00
Krzysztof Wicher
2ee4ccf2f5
fix bug in e2e tests
2015-12-01 23:14:49 -08:00
Bryan Thornbury
894676b7e1
Max 2 length substring, fix publishing for MSI
2015-12-01 17:11:30 -08:00
Sridhar Periyasamy
4c29fcbb03
Update Dockerfile
...
Create home folder for the user. Required by azure CLI.
2015-12-01 11:23:13 -08:00
PiotrP
512428fc2f
workaround for issue 359
2015-11-30 21:51:36 -08:00
piotrp
407c933480
add dotnet-test
2015-11-30 17:28:03 -08:00
Andrew Stanton-Nurse
462bbb4f5b
remove scripts to clean deps files
2015-11-30 12:49:29 -08:00
Andrew Stanton-Nurse
7815ddd6f2
set +x on dev-dotnet.sh
2015-11-30 12:19:56 -08:00
Andrew Stanton-Nurse
48cd38cd92
avoid dropping deps file when publishing
...
also, avoid requiring a dependency on Microsoft.NETCore.Runtime
fixes #157
2015-11-30 12:17:41 -08:00
Bryan Thornbury
8db6b797d2
Use Corehost instead of CoreRun, refactor tests for individual commands
2015-11-30 11:07:50 -08:00
Bryan
5c31655317
Add License Header
2015-11-30 11:07:43 -08:00
Bryan
ef22c93c39
E2E Testing First pass. Test each command in a sequence to mock what a user might do.
2015-11-30 11:07:07 -08:00
Bryan Thornbury
65d0388f5a
Merge pull request #318 from brthor/docker_build_user
...
Set Docker Internal UID to Host UID, Remove Postbuild step
2015-11-25 13:37:43 -08:00
Gaurav Khanna
2d81eced8c
1) Adding support to invoke CLang/Linker for Mac
...
2) Expecting AppDep native libs to be under <AppDepRoot>\CPPSdk\<OS>\x64 folder instead of <AppDepRoot>
Update the references to Microsoft.DotNet.ILCompiler and Microsoft.DotNet.AppDep packages with Mac CPPCodegen support.
2015-11-25 07:40:10 -08:00
Bryan Thornbury
b122190cd8
Set Docker Internal UID to Host UID, Remove Postbuild step
...
These changes will use docker's new Dockerfile Arguments to
pass the Host User ID to the docker container at build time.
This allows the docker container to set it's internal user
to match that of the host. When using shared volumes between
the host and container, this prevents files created in the
container from being owned by root.
This will solve our problem of needing a cleanup step after
every ubuntu CI run.
2015-11-25 00:33:53 +00:00
Krzysztof Wicher
d442d36189
add check for corehost
2015-11-24 11:21:13 -08:00
Krzysztof Wicher
1eee5114a4
fix build showing success on failing project
2015-11-23 19:43:02 -08:00
Krzysztof Wicher
c10bda5cbf
Merge pull request #268 from krwq/fixlinuxbuild
...
add dotnet-init to linux build script
2015-11-20 11:00:08 -08:00
Krzysztof Wicher
6a655af41a
add dotnet-init to linux build script
2015-11-19 15:01:47 -08:00
Bryan Thornbury
cefd1cbcfa
Move Debian Package Tools to packaging folder
2015-11-19 14:45:20 -08:00
Livar
b3b2ee737f
Merge pull request #243 from livarcocc/native_fixes
...
Fixes for dotnet compile --native.
2015-11-19 12:26:54 -08:00
Geoff Norton
bd2414dbdf
[osx] Fix permissions on place-binary.sh, and fix REPOROOT
2015-11-19 13:09:28 +09:00
Andy Gocke
f61ae84cb8
Merge pull request #252 from agocke/FixWindowsCrossgen
...
Run crossgen on the csc/vbc dlls, rather than the host exe
2015-11-18 17:36:56 -08:00
Livar Cunha
d0100335da
Changing native out flag to output flag to match compiler. Also changing the rsp file spliting to handle both /r/n and /r
...
Fixing the input path to the native compiler. It was adding /native to it before.
Switching compile native to System.CommandLine for args parsing and removing quotes from -native.rsp.
Fixing build_appdeps.cmd: Removed the * from __ApPDepSDK as xcopy does not honor that. In order to stay independent of the version of appDep, we CD into the appDepSDK and then navigate to the first folder we find, which should always be one, as we clear the folder before restoring appDep, after that we xcopy
2015-11-18 17:03:28 -08:00
Andy Gocke
96710ebfc1
Run crossgen on the csc/vbc dlls, rather than the host exe
2015-11-18 16:13:52 -08:00
Andrew Stanton-Nurse
04624ff5d1
add script executor
...
also added a postcompile script to each project to place the outputs in the right folder
fixes #237
2015-11-18 14:28:07 -08:00
Sridhar Periyasamy
3245130997
Use azure CLI instead of Invoke-WebRequest to upload files into azure blob
...
storage.
We cannot use Invoke-WebRequest todo this becuase azure has a max limit of
64mb that can be uploaded using REST
2015-11-18 08:32:09 -08:00
Sridhar Periyasamy
ba8a2b3869
Fix the mode flags on repoapi_client.sh
2015-11-18 07:47:21 -08:00
Piotr Puszkiewicz
c284a7492a
Merge pull request #217 from brthor/dotnet-compile-natives
...
dotnet-compile-native
Thanks for getting this in!
2015-11-18 02:11:11 -08:00
Bryan
1455d9151d
Don't copy Appdeps on mac. Bump appdep package version number
2015-11-18 01:53:05 -08:00
Piotr Puszkiewicz
080a127c38
Merge pull request #211 from Sridhar-MS/msi-packaging
...
First pass at building Windows MSI for the dotnet CLI repo.
2015-11-18 01:27:10 -08:00
Bryan
8768b873bd
Fix Windows AppDep, bump ILCompiler Version to fix cache issue
2015-11-18 01:19:06 -08:00