Skip to content

Commit bd6975d

Browse files
authored
Specify Mono for MacOS build
1 parent ff63863 commit bd6975d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pipelines/init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ steps:
4444
arguments: install tools/packages.config -ExcludeVersion -OutputDirectory tools
4545
- ${{ if ne(parameters.MonoVersion, '') }}:
4646
- script: |
47-
curl -o mono.pkg https://download.mono-project.com/archive/$MONO_VERSION/macos-10-universal/MonoFramework-MDK-$MONO_VERSION.182.macos10.xamarin.universal.pkg
47+
curl -o mono.pkg https://download.mono-project.com/archive/$MONO_VERSION/macos-10-universal/MonoFramework-MDK-$MONO_VERSION.206.macos10.xamarin.universal.pkg
4848
sudo installer -pkg mono.pkg -target /
4949
sudo cp -rf /Library/Frameworks/Mono.framework/Versions/$MONO_VERSION/ /Library/Frameworks/Mono.framework/Versions/Current/
5050
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$MONO_VERSION

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ variables:
2121
CakeVersion: "4.2.0"
2222
NuGetVersion: "6.5.0"
2323
GitVersionVersion: "5.0.1"
24-
MonoVersion: ""
24+
MonoVersion: "6.12.0"
2525
Coverage: "$(Agent.BuildDirectory)/c"
2626
VstsCoverage: "$(Coverage)"
2727
Artifacts: $(Build.SourcesDirectory)/artifacts/
@@ -100,6 +100,7 @@ stages:
100100
CakeVersion: $(CakeVersion)
101101
DotNetVersion: $(DotNetVersion)
102102
NuGetVersion: $(NuGetVersion)
103+
MonoVersion: $(MonoVersion)
103104
- script: |
104105
echo $PATH
105106
chmod 755 ./build.sh

0 commit comments

Comments
 (0)