-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9fe037
commit 5ca8581
Showing
22 changed files
with
1,662 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
trigger: | ||
- master | ||
|
||
jobs: | ||
- job: Windows | ||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
variables: | ||
solution: '**/*.sln' | ||
buildPlatform: 'Any CPU' | ||
buildConfiguration: 'Release' | ||
dotNetVersion: '3.0.100-preview8-013656' | ||
nugetVersion: '5.2.0' | ||
|
||
steps: | ||
- task: NuGetToolInstaller@0 | ||
displayName: Install NuGet v$(nugetVersion) | ||
inputs: | ||
versionSpec: $(nugetVersion) | ||
|
||
- task: DotNetCoreInstaller@0 | ||
displayName: Install Dot Net Core v$(dotNetVersion) | ||
inputs: | ||
version: $(dotNetVersion) | ||
|
||
- task: NuGetCommand@2 | ||
displayName: 'NuGet restore' | ||
inputs: | ||
restoreSolution: '$(solution)' | ||
|
||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: install --tool-path . nbgv | ||
displayName: Install NBGV tool | ||
env: | ||
COREHOST_TRACE: 0 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
||
- script: nbgv cloud | ||
displayName: Set Version | ||
env: | ||
COREHOST_TRACE: 0 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
||
- task: MSBuild@1 | ||
displayName: Build Solutions | ||
inputs: | ||
solution: '$(solution)' | ||
msbuildVersionOption: 'latest' | ||
msbuildArguments: /t:build;pack /p:NoPackageAnalysis=true /p:PackageOutputPath=$(Build.ArtifactStagingDirectory)\artifacts /v:minimal /p:JavaSdkDirectory="$(JAVA_HOME)/" | ||
configuration: $(BuildConfiguration) | ||
maximumCpuCount: true | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: Run Unit Tests | ||
inputs: | ||
command: test | ||
projects: '**/*Tests/*Windows.csproj' | ||
arguments: '--configuration $(buildConfiguration) --logger:"console;verbosity=detailed"' | ||
env: | ||
COREHOST_TRACE: 0 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish Build Artifacts | ||
inputs: | ||
PathtoPublish: $(Build.ArtifactStagingDirectory)\artifacts | ||
ArtifactName: artifacts | ||
publishLocation: Container | ||
condition: always() | ||
|
||
- job: Mac | ||
pool: | ||
vmImage: 'macOS-latest' | ||
|
||
variables: | ||
solution: '**/*.sln' | ||
buildPlatform: 'Any CPU' | ||
buildConfiguration: 'Release' | ||
dotNetVersion: '3.0.100-preview8-013656' | ||
nugetVersion: '5.2.0' | ||
|
||
steps: | ||
- bash: | | ||
SYMLINK=6_0_0 | ||
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK | ||
echo "##vso[task.setvariable variable=DYLD_FALLBACK_LIBRARY_PATH;]$MONOPREFIX/lib:/lib:/usr/lib:$DYLD_LIBRARY_FALLBACK_PATH" | ||
echo "##vso[task.setvariable variable=PKG_CONFIG_PATH;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH" | ||
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH" | ||
displayName: Update Mono 6.0.0 | ||
- bash: sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 6_0_0 | ||
displayName: Update Xamarin SDK 6.0.0 | ||
|
||
- task: NuGetToolInstaller@0 | ||
displayName: Install NuGet v$(nugetVersion) | ||
inputs: | ||
versionSpec: $(nugetVersion) | ||
|
||
- task: DotNetCoreInstaller@0 | ||
displayName: Install Dot Net Core v$(dotNetVersion) | ||
inputs: | ||
version: $(dotNetVersion) | ||
|
||
- task: NuGetCommand@2 | ||
displayName: 'NuGet restore' | ||
inputs: | ||
restoreSolution: '$(solution)' | ||
|
||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: install --tool-path . nbgv | ||
displayName: Install NBGV tool | ||
env: | ||
COREHOST_TRACE: 0 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
||
- script: ./nbgv cloud | ||
displayName: Set Version | ||
env: | ||
COREHOST_TRACE: 0 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
||
- task: MSBuild@1 | ||
displayName: Build Solutions | ||
inputs: | ||
solution: '$(solution)' | ||
msbuildVersionOption: 'latest' | ||
msbuildArguments: /t:build /p:NoPackageAnalysis=true /v:minimal | ||
configuration: $(BuildConfiguration) | ||
maximumCpuCount: true | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: Run Unit Tests | ||
inputs: | ||
command: test | ||
projects: '**/*Tests/*Mac.csproj' | ||
arguments: '--configuration $(buildConfiguration) --logger:"console;verbosity=detailed"' | ||
env: | ||
COREHOST_TRACE: 0 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<NoWarn>$(NoWarn);1591;1701;1702;1705;VSX1000</NoWarn> | ||
<Platform>AnyCPU</Platform> | ||
<IsTestProject>$(MSBuildProjectName.Contains('Tests'))</IsTestProject> | ||
<DebugType>embedded</DebugType> | ||
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)analyzers.ruleset</CodeAnalysisRuleSet> | ||
|
||
<Authors>Glenn Watson</Authors> | ||
<Copyright>Copyright (c) 2019 Glenn Watson</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/reactivemarbles/ReactiveMarbles.PlatformSchedulers</PackageProjectUrl> | ||
<PackageDescription>Schedulers for various platforms that are not shipped with the Reactive Extensions.</PackageDescription> | ||
<Owners>glennawatson</Owners> | ||
<PackageTags>system.reactive;propertychanged;inpc;reactive;functional</PackageTags> | ||
<PackageReleaseNotes>https://github.com/reactivemarbles/ReactiveMarbles.PlatformSchedulers/releases</PackageReleaseNotes> | ||
<RepositoryUrl>https://github.com/reactivemarbles/ReactiveMarbles.PlatformSchedulers</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
|
||
<!-- disable sourcelink on mono, to workaround https://github.com/dotnet/sourcelink/issues/155 --> | ||
<EnableSourceLink Condition=" '$(OS)' != 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core' ">false</EnableSourceLink> | ||
<EnableSourceControlManagerQueries>$(EnableSourceLink)</EnableSourceControlManagerQueries> | ||
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) --> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<!-- Embed source files that are not tracked by the source control manager in the PDB --> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<!-- Include PDB in the built .nupkg --> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="$(IsTestProject)"> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.console" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" /> | ||
<PackageReference Include="Xunit.StaFact" Version="0.3.18" /> | ||
<PackageReference Include="Shouldly" Version="4.0.0-beta0002" /> | ||
<PackageReference Include="PublicApiGenerator" Version="9.3.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(SourceLinkEnabled)' != 'false'"> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<SolutionDir Condition="'$(SolutionDir)' == ''">$(MSBuildThisFileDirectory)</SolutionDir> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(MSBuildThisFileDirectory)..\LICENSE" Pack="true" PackagePath="LICENSE" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Nerdbank.GitVersioning" Version="3.0.25" PrivateAssets="all" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="stylecop.analyzers" Version="1.1.118" PrivateAssets="all" /> | ||
<PackageReference Include="Roslynator.Analyzers" Version="2.1.0" PrivateAssets="All" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.4" PrivateAssets="all" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Product>$(AssemblyName) ($(TargetFramework))</Product> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$(TargetFramework.StartsWith('net4'))"> | ||
<DefineConstants>$(DefineConstants);NET_45;XAML</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))"> | ||
<DefineConstants>$(DefineConstants);NETFX_CORE;XAML;WINDOWS_UWP</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS'))"> | ||
<DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac'))"> | ||
<DefineConstants>$(DefineConstants);MONO;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.TVOS'))"> | ||
<DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('Xamarin.WatchOS'))"> | ||
<DefineConstants>$(DefineConstants);MONO;UIKIT;COCOA</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('MonoAndroid'))"> | ||
<DefineConstants>$(DefineConstants);MONO;ANDROID</DefineConstants> | ||
<DesignTimeBuild>false</DesignTimeBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(TargetFramework.StartsWith('tizen'))"> | ||
<DefineConstants>$(DefineConstants);TIZEN</DefineConstants> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26124.0 | ||
MinimumVisualStudioVersion = 15.0.26124.0 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactiveMarbles.PlatformSchedulers", "ReactiveMarbles.PlatformSchedulers\ReactiveMarbles.PlatformSchedulers.csproj", "{3322F2F0-FC2D-417E-BC15-AAC8263653BD}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B4F60D86-55D4-4173-B36D-1AF11AD2C109}" | ||
ProjectSection(SolutionItems) = preProject | ||
Directory.build.targets = Directory.build.targets | ||
Directory.Build.props = Directory.Build.props | ||
analyzers.ruleset = analyzers.ruleset | ||
global.json = global.json | ||
stylecop.json = stylecop.json | ||
..\azure-pipelines.yml = ..\azure-pipelines.yml | ||
EndProjectSection | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactiveMarbles.PlatformSchedulers.Tests.Mac", "ReactiveMarbles.PlatformSchedulers.Tests.Mac\ReactiveMarbles.PlatformSchedulers.Tests.Mac.csproj", "{52957AEB-9F92-4112-B04C-3FEA0FA5A230}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Debug|x64.Build.0 = Debug|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Debug|x86.Build.0 = Debug|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Release|x64.ActiveCfg = Release|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Release|x64.Build.0 = Release|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Release|x86.ActiveCfg = Release|Any CPU | ||
{3322F2F0-FC2D-417E-BC15-AAC8263653BD}.Release|x86.Build.0 = Release|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Debug|x64.Build.0 = Debug|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Debug|x86.Build.0 = Debug|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Release|x64.ActiveCfg = Release|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Release|x64.Build.0 = Release|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Release|x86.ActiveCfg = Release|Any CPU | ||
{52957AEB-9F92-4112-B04C-3FEA0FA5A230}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.