-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from unoplatform/master
Update to latest
- Loading branch information
Showing
482 changed files
with
15,002 additions
and
4,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- release/beta/* | ||
- release/stable/* | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
- release/beta/* | ||
- release/stable/* | ||
|
||
paths: | ||
include: | ||
- '/' | ||
exclude: | ||
- .dependabot/ | ||
- .github/ | ||
- .editorconfig | ||
- '*.md' | ||
- .all-contributorsrc | ||
|
||
variables: | ||
windowsHostedVMImage: 'windows-2019' | ||
|
||
jobs: | ||
- template: build/ci/.azure-devops-docs.yml | ||
parameters: | ||
vmImage: '$(windowsHostedVMImage)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# From SkiaSharp (https://github.com/mono/SkiaSharp/blob/master/scripts/install-tizen.ps1) | ||
# | ||
# Tizen has issues on DevOps: | ||
# - https://developer.tizen.org/forums/sdk-ide/cli-installer-v3.3-failing-on-azure-devops | ||
# - https://developercommunity.visualstudio.com/content/problem/661596/the-updated-path-doesnt-kick-in.html | ||
|
||
Param( | ||
[string] $Version = "3.7", | ||
[string] $InstallDestination = $null | ||
) | ||
|
||
$ErrorActionPreference = 'Stop' | ||
|
||
$HOME_DIR = if ($env:HOME) { $env:HOME } else { $env:USERPROFILE } | ||
|
||
if ($IsMacOS) { | ||
$platform = "macos-64" | ||
$ext = "bin" | ||
} elseif ($IsLinux) { | ||
$platform = "ubuntu-64" | ||
$ext = "bin" | ||
} else { | ||
$platform = "windows-64" | ||
$ext = "exe" | ||
} | ||
|
||
$url = "http://download.tizen.org/sdk/Installer/tizen-studio_${Version}/web-cli_Tizen_Studio_${Version}_${platform}.${ext}" | ||
|
||
$ts = Join-Path "$HOME_DIR" "tizen-studio" | ||
if ($InstallDestination) { | ||
$ts = $InstallDestination | ||
} | ||
Write-Host "Install destination is '$ts'..." | ||
|
||
$tsTemp = Join-Path "$HOME_DIR" "tizen-temp" | ||
$install = Join-Path "$tsTemp" "tizen-install.$ext" | ||
$packages = "MOBILE-4.0,MOBILE-4.0-NativeAppDevelopment" | ||
|
||
# download | ||
Write-Host "Downloading SDK to '$install'..." | ||
New-Item -ItemType Directory -Force -Path "$tsTemp" | Out-Null | ||
(New-Object System.Net.WebClient).DownloadFile("$url", "$install") | ||
|
||
# validation | ||
Write-Host "Validating Java install..." | ||
Write-Host "JAVA_HOME is: $env:JAVA_HOME" | ||
Write-Host "PATH contains JAVA_HOME: $($env:PATH.Contains("$env:JAVA_HOME"))" | ||
& "java" -version | ||
|
||
# install | ||
Write-Host "Installing SDK to '$ts'..." | ||
if ($IsMacOS -or $IsLinux) { | ||
& "bash" "$install" --accept-license --no-java-check "$ts" | ||
} else { | ||
& "$install" --accept-license --no-java-check "$ts" | ||
} | ||
|
||
# install packages | ||
Write-Host "Installing Additional Packages: '$packages'..." | ||
$packMan = Join-Path (Join-Path "$ts" "package-manager") "package-manager-cli.${ext}" | ||
if ($IsMacOS -or $IsLinux) { | ||
& "bash" "$packMan" install --no-java-check --accept-license "$packages" | ||
} else { | ||
& "$packMan" install --no-java-check --accept-license "$packages" | ||
} | ||
|
||
# make sure that Tizen Studio is in TIZEN_STUDIO_HOME | ||
Write-Host "##vso[task.setvariable variable=TIZEN_STUDIO_HOME;]$ts"; | ||
|
||
exit $LASTEXITCODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.