Commit graph

322 commits

Author SHA1 Message Date
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
Bryan
ebe108c69b AppDeps Copy Script fix dotnet invocation 2015-11-18 00:28:50 -08:00
Bryan
d0c07c64b9 Set additional env variables for appdeps build 2015-11-18 00:09:07 -08:00
Bryan
cb22daf9cb Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives 2015-11-17 23:54:43 -08:00
Bryan
ad56a28c56 Fix Appdeps scripts 2015-11-17 23:42:27 -08:00
Andy Gocke
869b927350 Upgrade csc ref to latest
Provides a few benefits:

1) The new package has the correct dependencies listed, so I removed the
-MissingDependenciesOK flag from the crossgen scripts.

2) The new compiler supports -publicSign (formerly called "OSS sign"),
which I patched through dotnet-compile-csc .
2015-11-17 23:37:39 -08:00
Bryan Thornbury
21d39c4751 Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives 2015-11-17 23:07:37 -08:00
Bryan Thornbury
35b0258f6c Make Appdeps executable 2015-11-17 23:04:24 -08:00
Bryan
0b59d3cd8e Add --no-cache to Windows Builds 2015-11-17 22:10:27 -08:00
Bryan
9c2141c098 Add no-cache to restoration 2015-11-17 21:58:49 -08:00
Bryan
47e150f561 Dotnet-Compile-Native Linux Integration 2015-11-17 20:37:56 -08:00
Bryan
a2e26981f2 Dotnet-Compile-Native Windows Build Integration 2015-11-17 20:36:30 -08:00
Sridhar Periyasamy
6a0a982f2f Change the build number to 'major.minor.build.revision'.
This is required for the Windows MSI ProductVersion to support major/minor
upgrades.

https://msdn.microsoft.com/en-us/library/aa370859(v=vs.85).aspx
2015-11-17 20:25:08 -08:00
Andrew Stanton-Nurse
a188ebe4e2 added a script to put the dev build on the PATH 2015-11-17 18:08:31 -08:00
Andrew Stanton-Nurse
a492ea7834 fix minor issue with build scripts 2015-11-17 15:17:37 -08:00
Piotr Puszkiewicz
f5a3ec581d Merge pull request #193 from cston/package
Add Microsoft.DotNet.Tools.Repl* to install
2015-11-17 14:35:35 -08:00
Charles Stoner
722dd721b0 Add Microsoft.DotNet.Tools.Repl* to install 2015-11-17 13:52:00 -08:00
Krzysztof Wicher
b566be5de8 Add dotnet-init 2015-11-17 11:46:46 -08:00
Sridhar Periyasamy
1c6087b8e1 Fix windows build break. Fix syntax of powershell 'cp' command. 2015-11-17 11:45:31 -08:00
Sridhar Periyasamy
fb61e69a79 First pass at building Windows MSI for the dotnet CLI repo.
- Use the heat tool to harvest the stage2 dir and create install-files.wxs
- dotnet.wxs contains the XML code which is constant across builds for an MSI.
- Use Candle and Light to generate the MSI from install-files.wxs and dotnet.wxs.

Default Install Location - %ProgramFiles%/dotnet.
Adds <InstallRoot>\bin %PATH%
Creates %DOTNET_HOME% pointing to <InstallRoot>
2015-11-17 00:39:46 -08:00
Piotr Puszkiewicz
4bc69ed204 Merge pull request #204 from piotrpMSFT/LicenseHeaders
Update Copyright headers in all source files.
2015-11-16 22:12:05 -08:00
David Fowler
919c6bc40e Add pack to the list of projects 2015-11-16 20:22:22 -08:00
PiotrP
e839b4debb Update Copyright headers in all source files. 2015-11-16 19:47:43 -08:00
Bryan
ee7b242d29 Remove set -e, this can easily cause the machine to get into an inconsistent state 2015-11-16 15:54:22 -08:00
Bryan
d2cb2ce76a Remove docker container cleanup. This should be handled in dockerbuild now. 2015-11-16 15:53:05 -08:00
Bryan
1a9d44a985 Fix Docker Postbuild Imports 2015-11-16 15:39:22 -08:00
Andrew Stanton-Nurse
06c66638f3 switch to repo-local stage0
fixes #200
2015-11-16 13:49:29 -08:00
Andrew Stanton-Nurse
6e3ade1672 fix issue with release build on VSO 2015-11-16 10:45:19 -08:00
Andrew Stanton-Nurse
d0f40917bc fix Windows VSO build 2015-11-16 10:20:47 -08:00
Andrew Stanton-Nurse
4cc15b1246 restructure the output layout
also reorganize the scripts folder
2015-11-16 09:44:00 -08:00
glennc
1f47daec1c Feedback changes plus ability to detect if latest is already installed 2015-11-12 12:18:19 -08:00
glennc
ddb8c04dd1 Some text updates for the install.sh file 2015-11-12 12:18:19 -08:00
glennc
ad4edf82ad Add install.sh to install the latest cli on a machine 2015-11-12 12:18:19 -08:00
Andrew Stanton-Nurse
2590e75475 add .version file to package 2015-11-11 22:49:39 -08:00
Andrew Stanton-Nurse
2d974c2680 fix formatting of windows version file 2015-11-11 22:23:41 -08:00
Andrew Stanton-Nurse
758d347f87 upload the data as raw binary data and set content-type 2015-11-11 22:13:35 -08:00
Andrew Stanton-Nurse
b920a77234 fix build and version upload 2015-11-11 21:54:58 -08:00
Andy Gocke
cc1d8f9215 Merge pull request #179 from agocke/UpgradeCscCoreReference
Upgrade compiler version and fix crossgen
2015-11-11 17:10:58 -08:00
Andy Gocke
5bfb626799 Upgrade compiler version and fix crossgen
The latest compiler nugets have missing dependencies, so
this temporarily turns on -MissingDependenciesOK for crossgen
2015-11-11 16:33:06 -08:00
Andrew Stanton-Nurse
e094169533 still don't know how to bash 2015-11-11 15:33:45 -08:00
Andrew Stanton-Nurse
d9dd05f4a0 fix version file format 2015-11-11 15:15:31 -08:00
Andrew Stanton-Nurse
d7bae750b2 how do I bash? 2015-11-11 15:07:56 -08:00
Andrew Stanton-Nurse
d5e9ac88ca add version metadata to package
also publish latest version metadata to blob storage
2015-11-11 14:35:23 -08:00
Sridhar Periyasamy
e31dae6bee Add '-y' to prevent prompts during installation. 2015-11-10 17:49:33 -08:00
Sridhar Periyasamy
0878879bc8 Fix type in Dockerfile and set the UPLOAD_URL variable to the correct location. 2015-11-10 17:28:46 -08:00
Sridhar Periyasamy
b34d7772e3 Install azure cli in the docker container
We need azure cli to publish atrifacts to the azure blob storage.
2015-11-10 17:20:18 -08:00
Bryan
cdf8b90494 Refactor docker entrypoint to reduce potential for out of sync build and ci_build scripts 2015-11-10 16:22:42 -08:00
Sridhar Periyasamy
32e7a71a49 Set up the CXX environment variables for Cmake to find the right compiler. 2015-11-10 16:22:42 -08:00
Bryan
d18385d5a4 Change CI Build to only build packages inside of docker 2015-11-10 16:22:41 -08:00
Bryan Thornbury
317ca5e2a8 Merge pull request #147 from brthor/deb-versioning
Match Debian Package Version to CI Build Version
2015-11-10 15:00:07 -08:00
Bryan
aaf1993c11 Address PR Feedback. Add back publish in package script: 2015-11-10 14:47:43 -08:00
Andrew Stanton-Nurse
dcb5e7e7ee stamp the commit into the stage2 package 2015-11-09 11:44:15 -08:00
Charles Stoner
d244b07dc5 Merge pull request #162 from cston/repl
Rename 'dotnet interactive' to 'dotnet repl'
2015-11-06 19:31:14 -08:00
Charles Stoner
73ae3e8afb Rename 'dotnet interactive' to 'dotnet repl' 2015-11-06 19:07:38 -08:00
Sridhar Periyasamy
09a04a6646 Create/overwrite the latest blob with the most current zip/msi
Also updated the readme file to point to download locations for the latest
binaries/installers
2015-11-06 17:06:55 -08:00
Sridhar Periyasamy
3a94e39336 Create/overwrite the latest blob with the most current tar.gz/deb/pkg 2015-11-06 16:35:33 -08:00
Sridhar Periyasamy
645892388b Merge pull request #160 from Sridhar-MS/azure-cli
Upload to blob storage using azure CLI.
2015-11-06 15:27:30 -08:00
Sridhar Periyasamy
32b4058a71 Upload to blob storage using azure CLI.
With curl we were hitting the azure server limitation of 64mb - https://msdn.microsoft.com/library/azure/dd179451
2015-11-06 14:40:05 -08:00
glennc
713b7a1061 Initial commit of pkg authoring 2015-11-06 12:02:15 -08:00
Sridhar Periyasamy
75ef96aaf8 Merge pull request #152 from Sridhar-MS/publish-index
Automatically update the index in the blob storage for windows.
2015-11-06 11:37:30 -08:00
Sridhar Periyasamy
26000b28c7 Pass DOTNET_BUILD_VERSION variable in a consistent manner to the docker instance 2015-11-05 14:00:44 -08:00
Sridhar Periyasamy
aa9e1e1b45 Pass all the VSO environment variables to the docker instance. 2015-11-05 13:43:21 -08:00
Sridhar Periyasamy
e370dc339b Remove the 'test' string from the URL 2015-11-05 09:55:29 -08:00
Sridhar Periyasamy
3825af25a0 Automatically update the index in the blob storage for osx and linux. 2015-11-05 09:07:52 -08:00
Charles Stoner
e2cdf17e2e Add Microsoft.DotNet.Tools.Interactive 2015-11-05 08:54:20 -08:00
Sridhar Periyasamy
c8014f0330 Automatically update the index in the blob storage for windows.
This is required by dnvm to download the latest dotnet binaries
2015-11-04 19:13:50 -08:00
Sridhar Periyasamy
36459aa659 Fix the crossgen scripts to use version 23504. 2015-11-04 11:11:38 -08:00
Bryan Thornbury
b63af7e649 Match CI build version to Debian Package Build Version.
The Debian Package should have the same version as the rest of the packages
being created as a part of the full build. These changes enable that.

NOTE: The debian package revision is unused but still included in the package
to allow for hyphens in the package version. (https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version)
2015-11-03 14:13:25 -08:00
Andrew Stanton-Nurse
3f76287809 fix spurious ~ folder 2015-11-03 11:04:26 -08:00
Piotr Puszkiewicz
f176ae9387 Merge pull request #142 from dotnet/anurse/fix-ubuntu-cmake
Fix cmake dependency on Ubuntu

Thanks @anurse!!
2015-11-03 10:42:51 -08:00
Andrew Stanton-Nurse
bf0b0c93cb this should fix cmake on Ubuntu 14.04 2015-11-03 10:08:59 -08:00
Andy Gocke
7dd429f047 Enable Roslyn crossgen on osx/linux
Also updates the runtime to 23502, which contains the crossgen
utility in the xplat runtime packages.
2015-11-02 16:44:03 -08:00
Andrew Stanton-Nurse
ee84f498fa remove predefined runtimes from dotnet-restore 2015-11-02 16:42:21 -08:00
anurse
b35fba863b command line interface clean-up 2015-11-01 21:08:01 -08:00
Andrew Stanton-Nurse
cfdd93abef add windows build 2015-10-31 21:57:10 -07:00
Andrew Stanton-Nurse
3ce7a84a04 dotnet-run command 2015-10-31 21:57:07 -07:00
Andrew Stanton-Nurse
cfb5a1836e fix up bootstrap script a bit 2015-10-31 21:33:17 -07:00
Andrew Stanton-Nurse
fbedf48da2 fix windows build 2015-10-31 21:19:15 -07:00
Bryan Thornbury
8a7a74ff5f Merge remote-tracking branch 'upstream/master' into compilenative 2015-10-30 15:49:58 -07:00
Andrew Stanton-Nurse
84312846ec speed up cmake docker build 2015-10-30 15:47:11 -07:00
Bryan Thornbury
15cbb75e45 merge with master 2015-10-30 15:11:18 -07:00
Andrew Stanton-Nurse
e70a169b28 Add a shared runtime aware host
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
Bryan Thornbury
822f8100a9 clean things up 2015-10-30 14:48:09 -07:00
glennc
070037d6f4 Finish changes for new storage feed format 2015-10-30 11:39:30 -07:00
glennc
8525dbdae3 initial changes for new storage account 2015-10-30 11:39:30 -07:00
Andrew Stanton-Nurse
1654235d74 re-enable smoke test 2015-10-29 19:46:02 -07:00
Andrew Stanton-Nurse
b81465c868 update windows bootstrap script 2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
13e279e146 update docker build script 2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
d7c73e8b29 clean up some build script stuff 2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
11a3bf3076 clean up dependency on DNX 2015-10-29 19:41:32 -07:00
Bryan Thornbury
72097df82f Smoke Test is breaking ubuntu and Linux Builds. Disable it temporarily 2015-10-29 16:35:23 -07:00
Andy Gocke
11f0443ca5 Merge pull request #121 from agocke/RepairReadyToRun
Get ReadyToRun working on -23428
2015-10-29 14:49:10 -07:00
Sridhar Periyasamy
91b0185b54 Minor fix to add quotes to the Upload_URI variable. 2015-10-29 14:21:21 -07:00
Bryan Thornbury
8d4afc5617 disable smoke test temporarily 2015-10-29 14:19:06 -07:00
Bryan Thornbury
4cb3b9569b Merge remote-tracking branch 'upstream/master' into compilenative 2015-10-29 12:04:02 -07:00
Bryan Thornbury
7fe32a93b1 --native first attempt 2015-10-29 12:03:01 -07:00
Andy Gocke
e9714c419a Get ReadyToRun working on -23428 2015-10-29 11:38:18 -07:00
Andy Gocke
e3e5a95c10 Remove -ReadyToRun to workaround dotnet/coreclr#1889 2015-10-28 23:43:35 -07:00
Andy Gocke
c2fa68df30 Rebase onto 23428 update 2015-10-28 22:42:14 -07:00
Andy Gocke
c1dd917cb0 Add /readytorun 2015-10-28 21:08:25 -07:00
Andy Gocke
dc814bf901 First try at crossgening Roslyn
Adds an extra step to the bootstrap to crossgen into the stage2
output directory.
2015-10-28 21:08:24 -07:00