Skip to content

Commit

Permalink
TEMP revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Oct 4, 2020
1 parent be6c293 commit 5d081e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 0 additions & 5 deletions azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ parameters:
jobs:
- job: Windows
pool: ${{ parameters.windowsPool }}
variables:
BuildPlatform: Any CPU
steps:
- checkout: self
clean: true
Expand All @@ -14,9 +12,6 @@ jobs:
- powershell: '& (./azure-pipelines/Get-nbgv.ps1) cloud'
displayName: Set build number

- pwsh: ./tools/Emulators.ps1
displayName: Start storage emulators

- template: dotnet.yml

- job: Linux
Expand Down
11 changes: 7 additions & 4 deletions azure-pipelines/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
steps:

- script: dotnet build --no-restore -c $(BuildConfiguration) -p:Platform="$(BuildPlatform)" /v:m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/build.binlog"
- script: dotnet build --no-restore -c $(BuildConfiguration) /v:m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/build.binlog"
displayName: dotnet build

- script: dotnet pack --no-build -c $(BuildConfiguration) -p:Platform="$(BuildPlatform)" /v:m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/pack.binlog"
- script: dotnet pack --no-build -c $(BuildConfiguration) /v:m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/pack.binlog"
displayName: dotnet pack

- pwsh: ./tools/Emulators.ps1
displayName: Start storage emulators

- task: DotNetCoreCLI@2
displayName: dotnet test -f net472
inputs:
Expand All @@ -19,7 +22,7 @@ steps:
displayName: dotnet test -f netcoreapp2.1
inputs:
command: test
arguments: --no-build -c $(BuildConfiguration) -p:Platform="$(BuildPlatform)" -f netcoreapp2.1 --filter "TestCategory!=FailsInCloudTest" -v n /p:CollectCoverage=true --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
arguments: --no-build -c $(BuildConfiguration) -f netcoreapp2.1 --filter "TestCategory!=FailsInCloudTest" -v n /p:CollectCoverage=true --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
workingDirectory: test/IronPigeon.Tests
testRunTitle: netcoreapp2.1-$(Agent.JobName)
env:
Expand All @@ -29,7 +32,7 @@ steps:
displayName: dotnet test -f netcoreapp3.1
inputs:
command: test
arguments: --no-build -c $(BuildConfiguration) -p:Platform="$(BuildPlatform)" -f netcoreapp3.1 --filter "TestCategory!=FailsInCloudTest" -v n /p:CollectCoverage=true --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
arguments: --no-build -c $(BuildConfiguration) -f netcoreapp3.1 --filter "TestCategory!=FailsInCloudTest" -v n /p:CollectCoverage=true --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
testRunTitle: netcoreapp3.1-$(Agent.JobName)
env:
CosmosDBConnectionString: $(CosmosDBConnectionString_NonWindows)
Expand Down

0 comments on commit 5d081e3

Please sign in to comment.