Skip to content
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
2 changes: 1 addition & 1 deletion azure-pipelines-msdata-aot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
BuildConfiguration: Release
VmImage: $(VmImage)

- template: templates/build-internal.yml
- template: templates/build-internal-aot.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
Expand Down
47 changes: 47 additions & 0 deletions templates/build-internal-aot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# File: templates/build-internal-aot.yml

parameters:
BuildConfiguration: ''
Arguments: ''
VmImage: ''
OS: 'Windows'

jobs:

- job:
displayName: InternalFlag ${{ parameters.BuildConfiguration }}
pool:
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching

# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 9.0
inputs:
packageType: 'runtime'
version: '9.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: UseDotNet@2
displayName: Use .NET 9.0
inputs:
packageType: 'sdk'
version: '9.x'

- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos Internal
inputs:
command: build
configuration: $(parameters.BuildConfiguration)
nugetConfigPath: NuGet.config
projects: Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj
arguments: -p:Optimize=true -p:DefineConstants="DOCDBCLIENT COSMOSCLIENT NETSTANDARD20 INTERNAL"
versioningScheme: OFF
Loading