Skip to content

Commit

Permalink
Try Bash task instead
Browse files Browse the repository at this point in the history
  • Loading branch information
slozier committed Jan 10, 2024
1 parent 19dace7 commit fc5018a
Showing 1 changed file with 18 additions and 30 deletions.
48 changes: 18 additions & 30 deletions Build/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ steps:

# Set Mono version on macOS
- ${{ if eq(parameters.os, 'macOS') }}:
- task: AzureCLI@2
- task: Bash@3
displayName: Set Mono Version
inputs:
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
targetType: inline
script: |
# use Mono 6.4.0 version
SYMLINK=6.4.0
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
Expand All @@ -53,33 +52,22 @@ steps:
# Install mono when running on Linux
- ${{ if eq(parameters.os, 'Linux') }}:
- task: AzureCLI@2
displayName: Version Information
- task: Bash@3
displayName: Install tools
inputs:
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
# Testing and packaging tools
sudo apt-get -yq install mono-vbnc dos2unix fakeroot
# 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: AzureCLI@2
displayName: Version Information
inputs:
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
# Dump some info about the tools
mono --version
msbuild /version
dotnet --info
targetType: inline
script: |
sudo apt-get -yq install mono-vbnc dos2unix
# 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 fc5018a

Please sign in to comment.