diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-12 07:39:46 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-10-31 22:56:19 -0400 |
commit | 9929af47fece84991c6527aca3ea86ff35a12956 (patch) | |
tree | 658ce66106fd64656710b157583247addf8d65d4 | |
parent | 7ab0e8c8dddbb359eff77ea696940da06cce59dc (diff) | |
download | rneovim-9929af47fece84991c6527aca3ea86ff35a12956.tar.gz rneovim-9929af47fece84991c6527aca3ea86ff35a12956.tar.bz2 rneovim-9929af47fece84991c6527aca3ea86ff35a12956.zip |
ci: win: use Ninja for CMake Generator
-rw-r--r-- | ci/build.ps1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1 index c82a74714c..c5e6ab7925 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -38,15 +38,18 @@ if ($compiler -eq 'MINGW') { # These are native MinGW builds, but they use the toolchain inside # MSYS2, this allows using all the dependencies and tools available # in MSYS2, but we cannot build inside the MSYS2 shell. - $cmakeGenerator = 'MinGW Makefiles' - $cmakeGeneratorArgs = 'VERBOSE=1' + $cmakeGenerator = 'Ninja' + $cmakeGeneratorArgs = '-v' + $mingwPackages = @('ninja', 'cmake', 'perl', 'diffutils', 'unibilium').ForEach({ + "mingw-w64-$arch-$_" + }) # Add MinGW to the PATH $env:PATH = "C:\msys64\mingw$bits\bin;$env:PATH" # Build third-party dependencies C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm -Su" ; exitIfFailed - C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm --needed -S mingw-w64-$arch-cmake mingw-w64-$arch-perl mingw-w64-$arch-diffutils mingw-w64-$arch-unibilium" ; exitIfFailed + C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm --needed -S $mingwPackages" ; exitIfFailed } elseif ($compiler -eq 'MSVC') { $cmakeGeneratorArgs = '/verbosity:normal' @@ -58,9 +61,6 @@ elseif ($compiler -eq 'MSVC') { } } -# Remove Git Unix utilities from the PATH -$env:PATH = $env:PATH.Replace('C:\Program Files\Git\usr\bin', '') - # Setup python (use AppVeyor system python) C:\Python27\python.exe -m pip install neovim ; exitIfFailed C:\Python35\python.exe -m pip install neovim ; exitIfFailed |