mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
# Pull request validation pipeline config
|
|
|
|
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'windows-latest'
|
|
|
|
variables:
|
|
buildConfiguration: 'Release'
|
|
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
|
|
buildPlatform: 'x86|x64|ARM'
|
|
|
|
steps:
|
|
- task: NuGetToolInstaller@1
|
|
displayName: 'Install NuGet Tool'
|
|
|
|
- task: NuGetCommand@2
|
|
displayName: 'Restore Solution'
|
|
inputs:
|
|
restoreSolution: '**/*.sln'
|
|
|
|
- task: ResharperCli@2
|
|
displayName: 'RESharper CLI Code Analyzer'
|
|
inputs:
|
|
solutionOrProjectPath: 'GUT.Schedule/GUTSchedule.sln'
|
|
failBuildLevelSelector: Hint
|
|
failBuildOnCodeIssues: false
|
|
|
|
- task: XamarinAndroid@1
|
|
displayName: 'Build Android'
|
|
inputs:
|
|
projectFile: '**/**.Droid.csproj'
|
|
outputDirectory: '$(outputDirectory)'
|
|
configuration: '$(buildConfiguration)'
|
|
msbuildVersionOption: 'latest'
|
|
msbuildArchitectureOption: 'x64'
|
|
jdkOption: 'JDKVersion'
|
|
|
|
- task: VSBuild@1
|
|
displayName: 'Build UWP'
|
|
inputs:
|
|
platform: 'x64'
|
|
solution: '**/**.UWP.csproj'
|
|
configuration: '$(buildConfiguration)'
|
|
msbuildArgs: '/p:AppxPackageSigningEnabled=false' |