Skip to content

Commit

Permalink
chore: Install android sdk on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Nov 14, 2024
1 parent beff84c commit 75d660c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/.azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pr:
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
IsCanaryBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/')]
ValidationUnoCheckVersion: '1.26.0-dev.65'
ValidationUnoCheckVersion: '1.27.0'
ValidationDotNetVersion: '8.0.401'

# https://github.com/unoplatform/Uno.Wasm.Bootstrap/pull/887 remove when upgarding to .NET 9
Expand Down
7 changes: 7 additions & 0 deletions build/templates/package-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ steps:
displayName: OpenJDK (Linux)
condition: eq(variables['Agent.OS'], 'Linux')

# Install android 34 as we're running on macos-15
- bash: |
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_HOME --install 'build-tools;35.0.0' | tr '\r' '\n' | uniq
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_HOME --install 'platforms;android-34' | tr '\r' '\n' | uniq
displayName: Install Android 34
condition: eq(variables['Agent.OS'], 'Darwin')

- powershell: |
& dotnet tool install --global Uno.Check --version $env:ValidationUnoCheckVersion
uno-check -v --ci --non-interactive --fix --skip androidemulator --skip dotnetnewunotemplates ${{ parameters.unocheckArguments }}
Expand Down

0 comments on commit 75d660c

Please sign in to comment.