|
@@ -16,9 +16,9 @@ variables:
|
|
- name: solution
|
|
- name: solution
|
|
value: '**/*.sln'
|
|
value: '**/*.sln'
|
|
- name: buildPlatform
|
|
- name: buildPlatform
|
|
- value: 'x64'
|
|
|
|
|
|
+ value: 'win-x64'
|
|
- name: buildConfiguration
|
|
- name: buildConfiguration
|
|
- value: 'Release'
|
|
|
|
|
|
+ value: 'DevRelease'
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- task: UseDotNet@2
|
|
- task: UseDotNet@2
|
|
@@ -33,9 +33,11 @@ steps:
|
|
restoreSolution: '$(solution)'
|
|
restoreSolution: '$(solution)'
|
|
|
|
|
|
- task: DotNetCoreCLI@2
|
|
- task: DotNetCoreCLI@2
|
|
|
|
+ displayName: "Build PixiEditor Solution"
|
|
inputs:
|
|
inputs:
|
|
command: 'build'
|
|
command: 'build'
|
|
projects: 'src/PixiEditor'
|
|
projects: 'src/PixiEditor'
|
|
|
|
+ arguments: '-r "$(buildPlatform)" -c $(buildConfiguration)'
|
|
|
|
|
|
- task: DotNetCoreCLI@2
|
|
- task: DotNetCoreCLI@2
|
|
displayName: "Build release PixiEditor.UpdateInstaller"
|
|
displayName: "Build release PixiEditor.UpdateInstaller"
|
|
@@ -43,7 +45,7 @@ steps:
|
|
command: 'publish'
|
|
command: 'publish'
|
|
publishWebProjects: false
|
|
publishWebProjects: false
|
|
projects: '**/PixiEditor.UpdateInstaller.csproj'
|
|
projects: '**/PixiEditor.UpdateInstaller.csproj'
|
|
- arguments: '-o "UpdateInstaller" -r "win-x64" --self-contained=false -p:PublishSingleFile=true -c Release'
|
|
|
|
|
|
+ arguments: '-o "UpdateInstaller" -r "$(buildPlatform)" --self-contained=false -p:PublishSingleFile=true -c $(buildConfiguration)'
|
|
zipAfterPublish: false
|
|
zipAfterPublish: false
|
|
|
|
|
|
- task: PowerShell@2
|
|
- task: PowerShell@2
|
|
@@ -55,7 +57,7 @@ steps:
|
|
displayName: Publish PixiEditor
|
|
displayName: Publish PixiEditor
|
|
inputs:
|
|
inputs:
|
|
filePath: 'src/PixiEditor.Builder/build.ps1'
|
|
filePath: 'src/PixiEditor.Builder/build.ps1'
|
|
- arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor" --build-configuration "DevRelease" --runtime "win-x64" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x64-light\PixiEditor" --crash-report-webhook-url "$(crash-webhook-url)"'
|
|
|
|
|
|
+ arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor" --build-configuration "$(buildConfiguration)" --runtime "$(buildPlatform)" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x64-light\PixiEditor" --crash-report-webhook-url "$(crash-webhook-url)"'
|
|
workingDirectory: 'src/PixiEditor.Builder'
|
|
workingDirectory: 'src/PixiEditor.Builder'
|
|
|
|
|
|
- task: ArchiveFiles@2
|
|
- task: ArchiveFiles@2
|