Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable deterministic settings #1163

Merged
merged 6 commits into from
Mar 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Ix.NET/Source/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<Deterministic>true</Deterministic>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.1.71" PrivateAssets="all" />
</ItemGroup>


<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<PackageReference Include="coverlet.collector" Version="1.2.0" />
</ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions Rx.NET/Source/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<Deterministic>true</Deterministic>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.ix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ stages:
jobs:
- job: Build
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.x'
- task: DotNetCoreInstaller@0
inputs:
version: 3.1.x
version: '3.1.300-preview-015048'
performMultiLevelLookup: true
includePreviewVersions: true

- task: DotNetCoreCLI@2
inputs:
Expand Down
6 changes: 6 additions & 0 deletions azure-pipelines.rx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ stages:
projects: Rx.NET/Source/tests/Tests.System.Reactive.ApiApprovals/Tests.System.Reactive.ApiApprovals.csproj
arguments: -c $(BuildConfiguration) --no-build --no-restore
displayName: Run Api Approvals Tests
enabled: false

- script: reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/Rx.NET/Source/coverlet/reports -reporttypes:"Cobertura"
displayName: Create reports
Expand All @@ -100,6 +101,11 @@ stages:
- publish: $(Build.ArtifactStagingDirectory)\artifacts
displayName: Publish artifacts
artifact: BuildPackages

- publish: Rx.NET/Source/tests/Tests.System.Reactive.ApiApprovals/Api
displayName: Publish test artifiacts
artifact: ApprovalsTests
condition: always()

- job: Integration_Linux_Tests
dependsOn: Build
Expand Down