diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-16 19:29:43 +0200 |
|---|---|---|
| committer | erw7 <erw7.github@gmail.com> | 2020-12-16 13:12:14 +0900 |
| commit | d7051705d04686ca6887c54c84af0db02621398a (patch) | |
| tree | 79f13d11f0bc9c37f4f86e05c660c4049f61b447 /ci | |
| parent | c3b9c35876bf82b5bd53543bc7222ef3599eb057 (diff) | |
| download | rneovim-d7051705d04686ca6887c54c84af0db02621398a.tar.gz rneovim-d7051705d04686ca6887c54c84af0db02621398a.tar.bz2 rneovim-d7051705d04686ca6887c54c84af0db02621398a.zip | |
ci: setup GitHub actions for windows
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/build.ps1 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1 index dbc43aecf3..5209045e95 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -3,7 +3,6 @@ Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' $ProgressPreference = 'SilentlyContinue' -$isPullRequest = ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -ne $null) $env:CONFIGURATION -match '^(?<compiler>\w+)_(?<bits>32|64)(?:-(?<option>\w+))?$' $compiler = $Matches.compiler $compileOption = if ($Matches -contains 'option') {$Matches.option} else {''} @@ -36,20 +35,20 @@ $scoop = (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh' Invoke-Expression $scoop } -scoop install perl -perl --version -cpanm.bat --version +# scoop install perl@5.30.3.1 +# perl --version +# cpanm.bat --version if (-not $NoTests) { scoop install nodejs-lts node --version npm.cmd --version - cpanm.bat -n Neovim::Ext - if ($LastExitCode -ne 0) { - Get-Content -Path "$env:USERPROFILE\.cpanm\build.log" - } - perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'; exitIfFailed + # cpanm.bat -n Neovim::Ext + # if ($LastExitCode -ne 0) { + # Get-Content -Path "$env:USERPROFILE\.cpanm\build.log" + # } + # perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'; exitIfFailed } if (-Not (Test-Path -PathType container $env:DEPS_BUILD_DIR)) { @@ -113,6 +112,7 @@ elseif ($compiler -eq 'MSVC') { if (-not $NoTests) { # Setup python (use AppVeyor system python) + C:\Python27\python.exe -m pip install pynvim ; exitIfFailed C:\Python35\python.exe -m pip install pynvim ; exitIfFailed # Disambiguate python3 |