Commit graph

373 commits

Author SHA1 Message Date
Pavel Krymets
0f82ae37f3 Refactor output directory code 2016-02-09 08:52:59 -08:00
Eric Erhardt
4908436958 Merge pull request #1261 from eerhardt/TestDirectory
Test directory refactoring step 1.
2016-02-08 21:36:29 -06:00
Eric Erhardt
3d14caceff Test directory refactoring step 1.
Moving TestProjects and TestPackages under root 'TestAssets' folder.

Partial fix #1250
2016-02-08 20:35:22 -06:00
Eric Erhardt
a3ab4d16d1 Fix the package cache on CI on Unix.
On the CI machines, the $HOME variable is redirected to the artifacts folder, which is under the repo root. The package cache is using $HOME. Thus between runs, the cache is removed.

To fix this, change the package cache on CI runs to be outside of the repo.
2016-02-08 17:50:52 -06:00
Eric Erhardt
168bfc6778 Merge pull request #1262 from eerhardt/FixCentOS
Fix CentOS on the latest .Net Core.
2016-02-05 20:56:45 -06:00
Eric Erhardt
1f8c139cec Fix CentOS on the latest .Net Core.
The latest .Net Core renamed the RID of the 'centos' packages to 'rhel'.  Migrating our scripts to use this name.
2016-02-05 20:13:35 -06:00
Livar Cunha
2d55c145e9 We still having issues when passing configuration to dotnet tests. This change makes dotnet build of tests and dotnet test commands always use debug build. We have issues #1267 and #1268 tracking fixes for this problem 2016-02-05 18:08:33 -08:00
Bryan Thornbury
bf5a466a03 fix slash in run_tests 2016-02-05 15:40:50 -08:00
Piotr Puszkiewicz
0863e02b52 Merge pull request #1253 from dotnet/piotrpMSFT/dotnet-testConfiguration
dotnet-test -c
2016-02-05 14:21:12 -08:00
Eric Erhardt
a7e9ee52c9 Update to .Net Core rc2-23805 2016-02-05 15:53:23 -06:00
Piotr Puszkiewicz
f51b9fb337 enable passing config to dotnet-test 2016-02-05 13:26:12 -08:00
Eric Erhardt
afc0d45e2e Merge pull request #1242 from eerhardt/NuGetCache
Cache NuGet packages on our CI server between builds.
2016-02-05 11:19:58 -06:00
Eric Erhardt
617af759ae Cache NuGet packages on our CI server between builds.
Currently on our CI builds, we point our NuGet cache under the repo. In between builds the repo gets deleted, thus the cache is lost.

This change moves the cache to %userprofile%\.nuget\packages on CI and dev boxes.  On CI, we expire the cache after a day by default.
2016-02-05 10:34:20 -06:00
Livar Cunha
64f89c990a Making the tests build without tfm, rid or configuration, because dotnet test does not understand those. that means that if we build for release and then do a dotnet test, the test will fail because dotnet test will look for binaries under debug/tfm. 2016-02-04 18:03:33 -08:00
Sridhar Periyasamy
17244b15c6 Update package.sh
Fix typos. This is failing the VSO CI builds.
2016-02-04 15:46:58 -08:00
Andrew Stanton-Nurse
bdce3f53f5 Merge pull request #1228 from dotnet/anurse/sync-install-script-params
sync install script params with PowerShell a bit
2016-02-04 14:33:44 -08:00
Bryan Thornbury
be4629a6a6 Merge pull request #1187 from dotnet/brthor/test_env_var
Add back Test Env Var so tests are published to the artifacts folder.
2016-02-04 11:58:14 -08:00
Andrew Stanton-Nurse
7ecb46fa55 sync install script params with PowerShell a bit 2016-02-04 09:58:26 -08:00
Livar Cunha
e618ff091f Making the test scripts work with dotnet test. 2016-02-03 17:07:55 -08:00
Senthil
8cb1e93d78 Merge pull request #1207 from schellap/relfix
Port native fixes
2016-02-03 16:33:11 -08:00
Senthil
102f11e65b Port native fixes 2016-02-03 14:49:31 -08:00
Zlatko Knezevic
c124b2d79a Responding to PR feedback, adding the OS names 2016-02-03 09:46:45 -08:00
Zlatko Knezevic
810e66b8fd Responding to PR feedback.
Modified the .gitignore also to exclude vim swap files.
2016-02-03 09:46:45 -08:00
Zlatko Knezevic
ae78068481 Changing the implementation from using shields.io to
using a local SVG file and doing replace. One less network hop.
2016-02-03 09:42:57 -08:00
Zlatko Knezevic
4f2a8aeaf9 Responding to PR feedback 2016-02-03 09:42:57 -08:00
Zlatko Knezevic
95f059697f Add version badges generation to build
Add version badge generation using shields.io service. The badge
is uploaded to a fixed Azure BLOB location which can be referenced
from README.md. Since the badge creation is not crucial, do not fail the build
if it cannot be created.

Fix #1000
2016-02-03 09:42:57 -08:00
David Fowler
73f7550b98 Pin versions and restore less
- Should speed up the build
2016-02-02 23:03:12 -08:00
piotrp
26ee0d8ddd fix paths 2016-02-02 14:55:18 -08:00
Bryan Thornbury
a5ff1e64ef Add back Test Env Var so tests are published to the artifacts folder. 2016-02-02 14:55:18 -08:00
Andy Gocke
7a203c02e1 Merge pull request #1158 from agocke/add-additional-arguments
Add "additionalArguments" compilation option
2016-02-02 12:22:03 -08:00
Andy Gocke
6ba581fc17 Add support for 'additionalArguments' in compilationOptions
Rather than keep a map that will have to be constantly updated every time
a new argument gets added to a compiler, the 'additionalArguments' option
will allow users to directly add arguments to the underlying compiler.
2016-02-01 22:48:12 -08:00
David Fowler
ec10a1d6be Upgrade stdlib and enable crossgen 2016-02-01 20:48:34 -08:00
David Fowler
1e703575d2 Fixed native compile 2016-02-01 15:54:18 -08:00
David Fowler
dfc59eb20e Everything in the same project
- Build in intrinsic commands as part of dotnet
2016-02-01 14:56:32 -08:00
Bryan Thornbury
f4bf77044b update paths to generated nuget packages 2016-02-01 12:52:42 -08:00
Bryan
39682cd14b dotnet-restore fix
add rid to all restores in test

Add Rid to appdep script, fix common

more script fixes!

fixes

script fix

script fix

Fix up the Runtests script

more fixes :)
2016-01-30 00:21:15 -08:00
Bryan Thornbury
afacc2c0a6 Finish Refactoring Test Scripts
remove publish todo

small fixes

small fixes

fix packaging test bug

Fix script bug

script changes

fix packaging test

NuGet task cancelled workaround

script fixes further

more script fixes, + workaround tweak

use build rather than compile in package command test
2016-01-30 00:21:14 -08:00
piotrp
51eca0bcba Refactoring test scripts
_nuget needs some RepoRoots

get the cats in line (d)

spaces

Fix Linux build breaks

add execution permissions

Pick up #999 Finish refactoring test scripts

remove auth

Reorder publishing to work!

fix rebase errors

fix more rebase errors

small fixes
2016-01-30 00:21:13 -08:00
Livar
c4f834b4e0 Merge pull request #1114 from livarcocc/fix_compile_stage
Updating build scripts to publish to stage\bin flat folder again
2016-01-29 10:26:34 -08:00
Livar Cunha
325d25235a Removing the publishing of the CLI to a separate compilation folder, we don't need it anymore after allowing publish to publish to flat output folders again. This simplifies the scripts. I kept packaging happening in a separate compilation folder because for that we need the tfm folder structure. This also fixes a bug where binaries were only being copied for the first time we built, because we checked that compilationfolder/bin/config/tfm was there. After fowler changes, this was not true for the published CLI, but the packaged folders were still creating this structure, which cause in subsequent build to only the binaries under compilationfolder/bin/debug/dnxcore50 to be copied to stage2dir/bin, instead of everything. 2016-01-28 20:34:19 -08:00
PiotrP
f3fa6be568 Fix dotnet-compile-native scripts 2016-01-28 14:22:48 -08:00
piotrp
25a7be1b21 Remove 'name' property from PJs 2016-01-28 10:53:32 -08:00
piotrp
9a7cab4cda build scripts and md 2016-01-28 10:53:31 -08:00
David Fowler
a35ae177ff - Make all of the code looking for built assets use the OutputPathCalculator
- Project dependencies are always built into their specific folders and the main project is the only one that uses the output path and intermediate output path variable.
- Publish respects the output path for publish only, not compile as part of publish. This means that publishing multiple runtimes will stomp on each other. So don't do that. We can throw if you specify and output location and you haven't specified a specific combination of RID and framework. Alternatively it should probably just pick the first TFM/RID pair from the lock file. This is similar to how `dotnet run` works.
- Cleaned up the incremental build output formatting
- Use a single stream (output stream) since interleaving them was causing formatting issues (like losing random characters in the middle of outputting things).
- Didn't change how pack works, it still preserves the output structure when passing `--output`, this one is worth discussing. We could leave the build output inplace and only move the package to the output location. That's more consistent with how everything else works and can be a follow up PR.
2016-01-27 11:13:45 -08:00
piotrp
d9ad86282a normalize centos version in RID to .7 2016-01-27 00:14:10 -08:00
piotrp
ce5efda8df Add --runtime parameter in bash restore to minimize package downloads and avoid trying to download non-existant packages. 2016-01-26 23:25:40 -08:00
piotrp
a66546d8fb Maintain test artifacts
Improved test diagnostics
Providing diagnostics about failed process.
Workaround for https://github.com/NuGet/Home/issues/1977
get past crossgen errors!
2016-01-26 23:25:39 -08:00
Andrew Stanton-Nurse
066bebcc6c bootstrap using nuget instead of dnx 2016-01-26 23:25:37 -08:00
Bryan Thornbury
ed5538292e Changes to restore CentOS properly in arg forwarding test. 2016-01-23 15:00:04 -08:00
Bryan
4c41c9699c Last necessary test changes
Fix the refactoring bugs

fix restore

downgrade version of package command test

Linux Test Script Fixes

use corehost instead of corerun for arg testing

don't copy corehost

fix scripts

Account for change in publish path, use corerun. Issue with AppContext.BaseDirectory in corehost.

Case Sensitive Reflector

wait for process exit

Fix bug in runtests.ps1

fix release build output path

fixup bug in runtests.sh
2016-01-23 14:32:50 -08:00