1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-10 18:11:04 +09:00
Commit graph

154 commits

Author SHA1 Message Date
Kenneth Pouncey
355d252692
Update webassembly instructions to reflect some recent changes (#38149) 2020-06-19 14:04:13 +02:00
Hugh Bellamy
7225acbc7a
Add build instructions for pkg-config (#38017) 2020-06-17 05:54:34 -07:00
Maxim Lipnin
84c64c5801
Add initial doc about testing libraries on WebAssembly (#37478)
* Add initial doc about testing libraries on WebAssembly

* Address feedback

* Address feedback
2020-06-08 18:01:51 +02:00
Jarret Shook
9e09fe3c26
Dev infra master merge1 (#37274)
* Build all managed coreclr tests on OSX in CI (#36253)

Remove concept of targetGeneric and targetSpecific

Add OSX corelcr managed tests builds to all pipes
Remove all other platform coreclr managed test build

Remove property `TestUnsupportedOutsideWindows`
Rename conditional `DisableProjectBuild` to `CLRTestTargetUnsupported`

Refactor tests to allow all managed tests to be built on OSX.

Split managed tests which based on target properties conditionally:
+ `<Compile Include/>`
+ `<DefineConstant/>`

This creates a separate test for each target configuration permutation.

Add `<CLRTestTargetUnsupported/>` conditions to select these at build and/or
run time

Append split tests with `_Target*` to identify intended test target

For tests which depend on target specific internal details od System.Private.Corlib,
expose a dummy implementation for unsupported targets.

Clean up

Remove <TraitTags/>
Remove <CLRTestNeedTarget/>
Remove managedOSXBuild
Remove managedTestBuildOsGroup
Remove managedTestBuildOsSubGroup

Use issues.target to disable expected failures

Some tests are configured to run on a targets with
specific charecteristics.

Use issues.targets to conditionally disable tests
not intended to run on all targets.

* Setup pr and batch runs for dev/infrsatructure (#36218) (#36299)

Co-authored-by: Jarret Shook <jashoo@microsoft.com>

* Add alias CoreClrTestBuildHost (#36256)

* Add alias CoreClrTestBuildHost

Intended to allow easy switching of test build host between OSX_x64 & Linux_x64
depending on availablility and reliability.

* Add missing issues.targets from #36253 (#36351)

* Add missing issues.targets from #36253

PR #36253 enabled building all tests on OSX. It was intended to include this list of
tests to disable on unsupported platforms. This was dropped as part of rebasing for
dev/infra branch.

Lack of CI on dev/infra allowed this to be missed.

* Revise issues.targets

* Add src/coreclr/tests/src/baseservices/typeequivalence/simple

* Remove #if Windows from DllImportPathTest

* Build scripts while copying native binaries (#36482)

* Build scripts while copying native binaries

Stop building test scripts during the managed build phase
Build after copying the native targets

Fixes issues relative to building scripts on OSX

* Fix superpmi script generation

* Cleanup issues.targets

* Keep 6 failing IJW tests

* Fix IJW when managed tests are built on OSX (#36711)

* Fix IJW when managed tests are built on OSX

- Refactor Interop.setting.targets to Directory.Build.{targets,props}
- Remove include Interop.setting.targets from interop projects rely on SDK including
    Directory.Build.* automatically
- Add new CopyInteropNativeRuntimeDependencies target for copying IJW dependencies
  * Add <Copy/> task
- Delete obsolete instruction in Interop/ReadMe.md

* Cleanup Readme.md

* Optional stress dependencies & don't populate CORE_ROOT twice (#36851)

Bruce noticed that we're downloading and installing stress
runtime dependencies several times during build. I have added a new
option to suppress this behavior in build-test and I fixed the
invocations of build-test based on Bruce's analysis. I have also
patched the build scripts to avoid populating CORE_ROOT in
"copynativeonly" mode.

Thanks

Tomas

Fixes: #36797

* Build test scripts whenever CopyNativeProjectBinaries builds (#37028)

* Fix pri0 test build.

* Clean pri1 test build (#37266)

* Clean pri1 test build

* Undo testing comment

* Make sure weakreferencetest does not run on unix

* Fixup WinRT proj

* Fix path

Co-authored-by: Steve MacLean <Steve.MacLean@microsoft.com>
Co-authored-by: Tomáš Rylek <trylek@microsoft.com>
Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Andy Ayers <andya@microsoft.com>
Co-authored-by: Adeel Mujahid <adeelbm@outlook.com>
Co-authored-by: Ganbarukamo41 <ganbarukamo@gmail.com>
Co-authored-by: monojenkins <jo.shields+jenkins@xamarin.com>
Co-authored-by: thaystg <thaystg@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Co-authored-by: Kevin Jones <kevin@vcsjones.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Egor Bogatov <egorbo@gmail.com>
Co-authored-by: Simon Nattress <nattress@gmail.com>
Co-authored-by: Aleksey Kliger (λgeek) <alklig@microsoft.com>
Co-authored-by: Krzysztof Wicher <kwicher@microsoft.com>
Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
Co-authored-by: Carol Eidt <carol.eidt@microsoft.com>
Co-authored-by: Shimmy <2716316+weitzhandler@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Layomi Akinrinade <laakinri@microsoft.com>
Co-authored-by: Dan Moseley <danmose@microsoft.com>
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Co-authored-by: Alexander Chermyanin <flamencist@mail.ru>
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Sergey Andreenko <seandree@microsoft.com>
Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
Co-authored-by: Steve Pfister <steveisok@users.noreply.github.com>
Co-authored-by: David Wrighton <davidwr@microsoft.com>
Co-authored-by: buyaa-n <bunamnan@microsoft.com>
Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
Co-authored-by: Vladimir Sadov <vsadov@microsoft.com>
Co-authored-by: Leandro Pereira <leandro.pereira@microsoft.com>
Co-authored-by: Swaroop Sridhar <swaroop.sridhar@microsoft.com>
Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Co-authored-by: Manish Godse <61718172+mangod9@users.noreply.github.com>
Co-authored-by: Bruce Forstall <brucefo@microsoft.com>
Co-authored-by: Alexis Christoforides <alexis@thenull.net>
Co-authored-by: BrzVlad <BrzVlad@users.noreply.github.com>
Co-authored-by: Alfred Myers <git@alfredmyers.com>
Co-authored-by: Nick Craver <nrcraver@gmail.com>
Co-authored-by: Nathan Ricci <naricc@microsoft.com>
Co-authored-by: Thays Grazia <thaystg@gmail.com>
Co-authored-by: Yoh Deadfall <yoh.deadfall@hotmail.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: Jo Shields <directhex@apebox.org>
Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
Co-authored-by: Anirudh Agnihotry <anirudhagnihotry098@gmail.com>
Co-authored-by: Roman Marusyk <Marusyk@users.noreply.github.com>
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Co-authored-by: Ben Adams <thundercat@illyriad.co.uk>
Co-authored-by: Marek Safar <marek.safar@gmail.com>
Co-authored-by: Anton Lapounov <antonl@microsoft.com>
Co-authored-by: AraHaan <15173749+AraHaan@users.noreply.github.com>
Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
Co-authored-by: Tomas Weinfurt <furt@Shining.local>
Co-authored-by: David Cantu <dacantu@microsoft.com>
Co-authored-by: Sung Yoon Whang <suwhang@microsoft.com>
Co-authored-by: Levi Broderick <GrabYourPitchforks@users.noreply.github.com>
Co-authored-by: vargaz <vargaz@users.noreply.github.com>
Co-authored-by: David Mason <davmason@microsoft.com>
Co-authored-by: UnityAlex <UnityAlex@users.noreply.github.com>
Co-authored-by: Fan Yang <52458914+fanyang-mono@users.noreply.github.com>
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
Co-authored-by: Egor Chesakov <Egor.Chesakov@microsoft.com>
Co-authored-by: radical <radical@users.noreply.github.com>
Co-authored-by: Ivan Diaz Sanchez <ivdiazsa@microsoft.com>
Co-authored-by: Gleb Balykov <g.balykov@samsung.com>
Co-authored-by: Honza Rameš <ramejan@gmail.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
Co-authored-by: Ivan <ivanbuha@outlook.com>
Co-authored-by: Ryan Lucia <rylucia@microsoft.com>
Co-authored-by: SRV <roman.sakno@gmail.com>
Co-authored-by: Clinton Ingram <clinton.ingram@outlook.com>
Co-authored-by: Mikhail Pilin <ww898@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: w-flo <w-flo@users.noreply.github.com>
Co-authored-by: Peter Sollich <petersol@microsoft.com>
Co-authored-by: grendello <grendello@users.noreply.github.com>
Co-authored-by: Johan Lorensson <lateralusx.github@gmail.com>
Co-authored-by: Erhan Atesoglu <47518605+eanova@users.noreply.github.com>
Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
Co-authored-by: Josh Schreuder <joshschreuder@gmail.com>
Co-authored-by: Josh Schreuder <josh.schreuder@gmail.com>
Co-authored-by: Andrew Au <andrewau@microsoft.com>
Co-authored-by: Eugene Rozenfeld <erozen@microsoft.com>
Co-authored-by: Vlad Brezae <brezaevlad@gmail.com>
Co-authored-by: Kenneth Pouncey <kjpou@pt.lu>
Co-authored-by: Kirill Frolov <k.frolov@samsung.com>
Co-authored-by: Tomas Weinfurt <furt@DESKTOP-0J9757E.corp.microsoft.com>
2020-06-04 08:43:40 -07:00
Yoh Deadfall
6096911b0c
Fixed VS debugging link (#37407) 2020-06-04 11:12:15 +02:00
Tammy Qiu
5906529c6e [wasm] add documentation for updating emscripten ver 2020-06-01 17:22:01 -04:00
Adeel Mujahid
e2541c74d5
Rev cmake minimum version from 3.14.2 to 3.14.5 (#34757)
iOS requires 3.14.5 version and we have a special case for it. Since this is a minor version difference, and no distro is particularly providing cmake 3.14.2 package, it is safe to update to 3.14.5 to cover our supported platform matrix.

Discussion: https://github.com/dotnet/runtime/pull/33959#discussion_r396389297
Fixes: https://github.com/dotnet/runtime/issues/33976

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2020-06-01 17:05:33 +02:00
Bruce Forstall
19f18bca14
Fix bad documentation links (#37222)
Also, don't make documentation specific to CoreCLR.
2020-05-31 10:49:58 -07:00
Bruce Forstall
ae0abac4ae
Reduce duplication in Linux build instructions (#37175)
All the Docker information was duplicated in two places; remove
that duplication.
2020-05-31 10:30:19 -07:00
Kenneth Pouncey
59cde2f0bb
[browser][wasm] Add initial webassembly instructions document. (#37123) 2020-05-29 22:35:37 +02:00
Bruce Forstall
4d2b9bbcb7
Fix Linux requirements document (#37145)
Update linux-requirements.md

Fix copy/paste error, update wording related to LLVM APT feed.
2020-05-29 11:09:05 -07:00
Viktor Hofer
511cadad23
Update the -vs switch and add docs for it (#37026)
* Remove testhost DOTNET_ROOT from vs switch

We don't need to point to the testhost folder anymore for libraries for
supporting VS Test Explorer.

* Update docs

* Fix verbosity alias
2020-05-27 15:59:38 +02:00
Eirik Tsarpalis
a2ec75f3fe
Minor documentation improvements (#36834) 2020-05-21 21:14:52 +01:00
Egor Bogatov
514ea59fcd
Add autoconf, automake and libtool as dependencies (#36475)
* Add autoconf, automake and libtool as dependencies

* Update instructions
2020-05-21 07:11:57 -07:00
Alexander Köplinger
af2e5c9829
Use a Brewfile for installing brew packages (#36747)
This means we won't be upgrading existing packages on the system that we don't need for the build.
Marks install-native-dependencies.sh as executable (+x) so we don't need to start it with `sh` in the build .yml

Fixes https://github.com/dotnet/runtime/issues/36727
2020-05-20 17:57:57 +02:00
Nick Craver
4700cf4e75
CMake: Point download URLs directly to https:// (#36615) 2020-05-17 16:27:13 -07:00
Egor Bogatov
00acdc1514
[mono] Use "dotnet publish" for Android sample with ILLink (#36593) 2020-05-16 16:15:56 +03:00
Egor Bogatov
ec2209e736
[docs] How to run tests on iOS and Android (#36297) 2020-05-15 15:02:05 +03:00
Simon Nattress
cf0fcdc1b8
Update Linux docker instructions (#36370)
* Update linux-instructions.md to use root build.sh
2020-05-14 11:12:30 -07:00
Ganbarukamo41
622341ecc2
Update windows prerequisites to be more specific about SDK (#36438)
* Update windows prerequisites to be more specific about SDK

* Global installation of nightly SDK is required to normally browse the solution files in VS, as there is no way to supply SDKs when the solution files are opened through VS.

* Update windows prerequisites

* allow newer versions of VS workloads
2020-05-14 12:21:02 +02:00
Santiago Fernandez Madero
df8e2d751e
Update testing.md (#36286) 2020-05-12 12:49:05 -04:00
Sean Hall
5f884ba5fb
Fix vs testing link (#36261) 2020-05-12 08:24:02 +02:00
Viktor Hofer
2cd041bbee
Document F5 and Test Explorer prerequisites (#36117)
* Document F5 and Test Explorer prerequisites

* Update docs/workflow/testing/visualstudio.md

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2020-05-08 21:03:17 +02:00
Tomas Weinfurt
0ec974709e
add requirement doc for FreeBSD (#35704)
* add freebsd requirements

* corrections

* format

* feedback from review

* more cleanup

Co-authored-by: Tomas Weinfurt <furt@Shining.local>
2020-05-07 13:47:41 -07:00
Cédric Luthi
f6aad636c9
Simplify build on macOS (#35570)
* Check for OpenSSL (and pkg-config) in the check_prereqs() function
* Simplify OpenSSL installation instructions
* Automatically pick the OpenSSL version installed by Homebrew by exporting the proper PKG_CONFIG_PATH environment variable
* Improve the error message if cmake can't find OpenSSL

The previous instructions were asking the user to add symbolic links inside  /usr/local/lib/ and /usr/local/lib/pkgconfig/ for OpenSSL related files. There is no need for a complicated setup with symbolic links when the PKG_CONFIG_PATH environment variable points to the right pkgconfig, which is now done in build-commons.sh.

Co-Authored-By: Jan Kotas <jkotas@microsoft.com>
Co-Authored-By: Jeremy Barton <jbarton@microsoft.com>
2020-05-07 11:12:29 +02:00
Viktor Hofer
85bfbfcf54
Re-enable xunit.console code coverage (#35894)
Re-enable xunit console code coverage measurement until
https://github.com/coverlet-coverage/coverlet/issues/834 is fixed.
2020-05-06 19:03:55 +02:00
Viktor Hofer
000046f6c8
Change netcoreapp5.0 to net5.0 (#35176)
* Change netcoreapp5.0 to net5.0

* Remove tfm downgrades

* Rename S.R.CS.Unsfae include folder
2020-05-06 13:53:21 +02:00
Viktor Hofer
200b197559
Enable dotnet test in libraries (#35285)
* Enable dotnet test

* Update docs

* Use vstest in F5 scenarios

* Make dotnet test without framework switch work

* Code cleanup

* Only run code coverage conditionally

* Fix F5 condition for netcoreapp

* Downgrade sdk to check for helix submission failures

* Fix wrong conditions

* Add blame data collector
2020-05-04 11:57:51 +02:00
Jan Jahoda
efc260cada
Add zlib-dev to linux requirement (#35571)
On Ubuntu, the build fails on missing zlib.
2020-04-28 16:27:06 +02:00
Kenneth Pouncey
6004f18244 [docs] Helpful links when building the first time.
- Add requirements link to the mono build README.md
- Add a link to the requirements document when missing openssl.
2020-04-22 07:23:46 +02:00
Viktor Hofer
3b42a9a1d4
Update VS minimum dependency (#35114)
With the net5.0 TFM change and the nuget static graph restore, we require VS >= 16.6 Preview2.
2020-04-17 20:00:49 +02:00
mrj001
9be23bada7
updated output folder from 'aforementioned' to the folder where the single library output is found. (#34340) 2020-04-17 16:45:54 +02:00
Tomas Weinfurt
90e090553f
use curl with OpenSSL backend on 16.04-cross based containers (#34909)
* use curl with OpenSSL backend

* update docs
2020-04-14 09:51:39 -07:00
Adeel
2e0039ac6b Add note about building PAL tests in docs 2020-04-09 22:11:35 +03:00
Santiago Fernandez Madero
e298818e7c
Update libraries running tests broken link. (#34704) 2020-04-08 11:39:25 -07:00
Aaron Robinson
174f13637c
Update documentation for CoreCLR testing. (#34674)
* Update documentation for CoreCLR testing.
2020-04-08 09:07:47 -07:00
Viktor Hofer
8e0147ecdf
Redesign the subset feature (#34663)
* Redesign subset feature and remove subsetcategory

Implement proposal from https://github.com/dotnet/runtime/issues/34403.
Remove subsetcategory and allow all subsets to specified via the -subset
switch.
2020-04-08 03:09:31 +02:00
Viktor Hofer
62112b0abb
Remove entry point helper scripts (#33756)
* Remove entry point helper scripts

The entry point helper scripts were useful during the consolidation of
the repositories. This work is mostly done and the build.cmd/sh script
should be used, going forward.
2020-04-06 15:38:04 +02:00
Viktor Hofer
42183b1b86
Enable restore for ref and src projects in libs (#33553)
- Use RestoreUseStaticGraphEvaluation which improves no-op restore by 10-15x down to 10-20 seconds.
- .builds msbuild files renamed to .proj as RestoreUseStaticGraphEvaluation throws for non .proj files without an env var set.
- Introducing subsets for libraries and mono and replacing -buildtests switch which was only working for libraries in favor of the subset switch -subset tests which works consistently.
- Fixing the Microsoft.DotNet.CodeAnalysis analyzer which wasn't running and adding missing exclusions.
- Separating restore and build phases in different parts in the repo (ie for installer.tasks) as generated props and targets need to be imported which requires a reevaluation in the build phase.
- Fix eng/docker/build-docker-sdk.ps1 by using the official build entrypoints (cc @alnikola)
- Remove a few depprojs in favor of project restore (faster restore :))
- Fix root code coverage measurement not working correctly
- Traversal support instead of dir.traversal.targets or manual build target defines.
- Introduce a root Build.proj entrypoint which is responsible for building and restoring the repository. This is necessary to enable the new NuGet fast restore which works best and fastest with a single entrypoint.
- Avoid binclashes in libraries and between libraries and installer (netstandard.depproj vs netstandard.csproj)
- Upgrading the SDK to 5.0 latest
- Code cleanup
2020-04-06 11:54:10 +02:00
nietras
39db2a834e
Fix subsetCategory is just one - not two -- (#34498)
Otherwise fails with:
```
MSBUILD : error MSB1001: Unknown switch.
Switch: --subsetCategory
```
on Windows
2020-04-03 15:20:10 +02:00
Andrey Kurdyumov
394561095a
Fix ordering of the instructions (#34447)
Command for opening Visual Studio works from root folder,
but not inside library folder as was implied by ordering in the instructions.
2020-04-02 13:55:41 +02:00
Egor Bogatov
564a5d6b68
[mono] Fix LLVM JIT build on arm64 host (#34332) 2020-04-01 11:25:08 +03:00
Tomas Weinfurt
595a95c05b
add support for FreeBSD cross-compilation (#34000)
* add support for FreeBSD cross-compilation

* feedback from review

* update detection

* add openssl to docs

* feedback from reviews

* feedback from reviews

* final cleanup

* feedback from reviews

* simplify detection of route.h

* correct __CrossBuild detection

* use TargetOS for installer
2020-03-31 13:36:32 -07:00
Jan Kotas
59be94b698
Unifying duplicate msbuild properties in CoreCLR build (#34261)
- __TargetOS -> TargetOS
- __BuildType, BuildType -> Configuration
- __BuildArch, BuildArch -> TargetArchitecture
2020-03-30 10:06:24 -07:00
Jan Kotas
19c7f5a704
Rename ArchGroup -> TargetArchitecture (#34260)
Most places use TargetArchitecture already. These two properties seems to be always set to the same value.
2020-03-29 17:20:20 -07:00
Jan Kotas
479067315a
.NET Core to .NET branding changes (#33694)
Contributes to #33680
2020-03-28 07:00:19 -07:00
Karel Zikmund
cee4eca178
Add how to run outer loop libraries tests (#32940)
* Add how to run outer loop libraries tests
2020-03-27 09:55:14 -07:00
Jarret Shook
7d67d17a9f
Use 16.04 to build the x64-arm crossgen (#34171)
* Use 16.04 to build the x64-arm crossgen

* Update docs
2020-03-26 21:58:50 -07:00
Jarret Shook
96560599c3
Run crossgen in parallel in crossgen_comparison.py (#33175)
* Run crossgen in parallel

* Change container to python:3.7

* Undo python3.7 container

* Update the arm build image and address feedback

* Default to python 3.x

* Force python3

* Small python changes

* Define asyncio

* Update to run arm 18.04 cross

* Remove dup core_root generation

* Update arm container

* Use 3.6 for crossgen_comparison

* Finish adding async defintions

* Fix spacing in file

* Update docker image used in linux-requirements
2020-03-25 17:29:19 -07:00
Next Turn
465669de88
Update docs to point to new build scripts (#33325)
* Update docs to point to build-runtime scripts

* Fix CoreLib build command

* Reference the root script, use documented syntax
2020-03-25 06:38:43 -07:00