Skip to content

Commit

Permalink
Try to fix build on Azure (#1767)
Browse files Browse the repository at this point in the history
* Try to fix build on Azure

* Fix AzureCLI inputs

* Try Bash task instead
  • Loading branch information
slozier committed Jan 10, 2024
1 parent 2dc7dfe commit c8be3ef
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions Build/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ steps:

# Set Mono version on macOS
- ${{ if eq(parameters.os, 'macOS') }}:
- task: ms-devlabs.utilitytasks.task-Shellpp.Shell++@0
- task: Bash@3
displayName: Set Mono Version
inputs:
type: InlineScript
targetType: inline
script: |
# use Mono 6.4.0 version
SYMLINK=6.4.0
Expand All @@ -52,31 +52,22 @@ steps:
# Install mono when running on Linux
- ${{ if eq(parameters.os, 'Linux') }}:
- task: ms-devlabs.utilitytasks.task-Shellpp.Shell++@0
displayName: Version Information
- task: Bash@3
displayName: Install tools
inputs:
type: InlineScript
targetType: inline
script: |
# Testing and packaging tools
sudo apt-get -yq install mono-vbnc dos2unix fakeroot
sudo apt-get -yq install mono-vbnc dos2unix
# Dump some info about the tools
mono --version
msbuild /version
dotnet --info
df -Th
# Dump version info on macOS
- ${{ if eq(parameters.os, 'macOS') }}:
- task: ms-devlabs.utilitytasks.task-Shellpp.Shell++@0
displayName: Version Information
inputs:
type: InlineScript
script: |
# Dump some info about the tools
mono --version
msbuild /version
dotnet --info
# Dump version info
- task: PowerShell@2
displayName: Version Information
inputs:
targetType: inline
script: |
dotnet --info
try { msbuild -version } catch { }
try { mono --version } catch { }
- powershell: ./make.ps1
displayName: Build
Expand Down

0 comments on commit c8be3ef

Please sign in to comment.