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
build_cloud: docker | |
environment: | |
matrix: | |
- job_name: Node.js 8 tests | |
job_group: tests | |
docker_image: node:8 | |
- job_name: Node.js 12 tests |
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
[CmdletBinding()] | |
param | |
( | |
[Parameter(Mandatory=$true)] | |
[string]$AppVeyorUrl, | |
[Parameter(Mandatory=$true)] | |
[string]$HostAuthorizationToken | |
) |
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
build_script: | |
- rake ri:ruby-%target_ruby%-%arch% & c:/msys64/usr/bin/gpgconf --homedir /etc/pacman.d/gnupg --kill all |
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
Write-Host "Installing MSYS2..." -ForegroundColor Cyan | |
if(Test-path C:\msys64) { | |
del C:\msys64 -Recurse -Force | |
} | |
# download installer | |
$zipPath = "$($env:TEMP)\msys2-x86_64-latest.tar.xz" | |
$tarPath = "$($env:TEMP)\msys2-x86_64-latest.tar" | |
Write-Host "Downloading MSYS installation package..." |
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
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { | |
cmd.exe /c "call `"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd`" /x64 && call `"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat`" x86_amd64 && set > %temp%\vcvars.txt" | |
} else { | |
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt" | |
} | |
Get-Content "$env:temp\vcvars.txt" | Foreach-Object { | |
if ($_ -match "^(.*?)=(.*)$") { | |
Set-Content "env:\$($matches[1])" $matches[2] | |
} |
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
# set strong cryptography on 64 bit .Net Framework (version 4 and above) | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | |
# set strong cryptography on 32 bit .Net Framework (version 4 and above) | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord |
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
Write-Host "Uninstalling Yarn 1.2.1..." | |
(New-Object Net.WebClient).DownloadFile('https://github.com/yarnpkg/yarn/releases/download/v1.2.1/yarn-1.2.1.msi', "$env:temp\yarn-1.2.1.msi") | |
cmd /c start /wait msiexec.exe /x $env:temp\yarn-1.2.1.msi /quiet | |
Write-Host "Installing Yarn 0.24.6..." | |
(New-Object Net.WebClient).DownloadFile('https://github.com/yarnpkg/yarn/releases/download/v0.24.6/yarn-0.24.6.msi', "$env:temp\yarn-0.24.6.msi") | |
cmd /c start /wait msiexec.exe /i $env:temp\yarn-0.24.6.msi /quiet | |
yarn --version |
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
init: | |
- REG ADD "HKLM\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "chcp 65001>nul" /f |
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
Write-Host "Installing Yarn..." -ForegroundColor Cyan | |
Write-Host "Downloading..." | |
$msiPath = "$env:TEMP\yarn.msi" | |
(New-Object Net.WebClient).DownloadFile('https://yarnpkg.com/latest.msi', $msiPath) | |
Write-Host "Installing..." | |
cmd /c start /wait msiexec /i "$msiPath" /quiet | |
Write-Host "Yarn installed" -ForegroundColor Green |
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
Start-FileDownload https://github.com/EWSoftware/SHFB/releases/download/v2017.5.15.0/SHFBInstaller_v2017.5.15.0.zip | |
7z x -y SHFBInstaller_v2017.5.15.0.zip | Out-Null | |
Write-Host "Installing MSI..." | |
cmd /c start /wait msiexec /i InstallResources\SandcastleHelpFileBuilder.msi /quiet | |
Write-Host "Installing VSIX..." | |
. "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe" /q /a InstallResources\SHFBVisualStudioPackage_VS2015AndLater.vsix | |
Write-Host "Sandcastle installed" -ForegroundColor Green |