66 submodules : true
77
88 - powershell : |
9+ Write-Host "${{ parameters.os }}"
910
1011 $xml = [xml] (Get-Content CurrentVersion.props)
1112 $major = $xml.Project.PropertyGroup.MajorVersion
@@ -43,27 +44,27 @@ steps:
4344 version : ' 9.0.x'
4445
4546 # Set Mono version on macOS
46- - ${{ if eq(parameters.os, 'macOS') }} :
47- - task : Bash@3
48- displayName : Set Mono Version
49- inputs :
50- targetType : inline
51- script : |
52- # use Mono 6.4.0 version
53- SYMLINK=6.4.0
54- MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
55- echo "##vso[task.setvariable variable=DYLD_FALLBACK_LIBRARY_PATH ;]$MONOPREFIX/lib:/lib:/usr/lib:$DYLD_LIBRARY_FALLBACK_PATH "
56- echo "##vso[task.setvariable variable=PKG_CONFIG_PATH ;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH "
57- echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
47+ - task : Bash@3
48+ displayName : Set Mono Version
49+ inputs :
50+ targetType : inline
51+ script : |
52+ # use Mono 6.4.0 version
53+ SYMLINK= 6.4.0
54+ MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
55+ echo "##vso[task.setvariable variable=DYLD_FALLBACK_LIBRARY_PATH;]$MONOPREFIX/lib:/lib:/usr/lib:$DYLD_LIBRARY_FALLBACK_PATH"
56+ echo "##vso[task.setvariable variable=PKG_CONFIG_PATH ;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH "
57+ echo "##vso[task.setvariable variable=PATH ;]$MONOPREFIX/bin:$PATH "
58+ condition : eq(parameters.os, 'macOS')
5859
5960 # Install mono when running on Linux
60- - ${{ if eq(parameters.os, 'Linux') }} :
61- - task : Bash@3
62- displayName : Install tools
63- inputs :
64- targetType : inline
65- script : |
66- sudo apt-get -yq install mono-vbnc dos2unix
61+ - task : Bash@3
62+ displayName : Install tools
63+ inputs :
64+ targetType : inline
65+ script : |
66+ sudo apt-get -yq install mono-vbnc dos2unix
67+ condition : eq(parameters.os, 'Linux')
6768
6869 # Dump version info
6970 - task : PowerShell@2
@@ -78,18 +79,6 @@ steps:
7879 - powershell : ./make.ps1
7980 displayName : Build
8081
81- - powershell : ./make.ps1 test-all
82- displayName : Test
83-
84- - task : PublishTestResults@2
85- displayName : Publish Test Results
86- inputs :
87- testRunner : VSTest
88- testResultsFiles : ' **/*.trx'
89- mergeTestResults : true
90- testRunTitle : ${{ parameters.os }}
91- condition : succeededOrFailed()
92-
9382 - powershell : ./make.ps1 package
9483 displayName : Package
9584 condition : succeededOrFailed()
0 commit comments