comparison .github/workflows/ci.yml @ 31024:ce82378c6a47 v9.0.0847

patch 9.0.0847: CI: not totally clear what MS-Windows version is used Commit: https://github.com/vim/vim/commit/80613d64e69ccdac3dbf4eb06d55b2cf1218b819 Author: K.Takata <kentkt@csc.jp> Date: Wed Nov 9 16:12:47 2022 +0000 patch 9.0.0847: CI: not totally clear what MS-Windows version is used Problem: CI: not totally clear what MS-Windows version is used. Solution: Show the Windows version. (Ken Takata, closes https://github.com/vim/vim/issues/11524)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Nov 2022 17:15:05 +0100
parents 05b68da4d64d
children 60603cf3214c
comparison
equal deleted inserted replaced
31023:698c297dd652 31024:ce82378c6a47
399 steps: 399 steps:
400 - name: Initialize 400 - name: Initialize
401 id: init 401 id: init
402 shell: bash 402 shell: bash
403 run: | 403 run: |
404 # Show Windows version
405 cmd /c ver
406
404 git config --global core.autocrlf input 407 git config --global core.autocrlf input
405 408
406 if [ "${{ matrix.arch }}" = "x64" ]; then 409 if [ "${{ matrix.arch }}" = "x64" ]; then
407 cygreg=registry 410 cygreg=registry
408 pyreg= 411 pyreg=
420 fi 423 fi
421 424
422 echo "VCVARSALL=$(vswhere -products \* -latest -property installationPath)\\VC\\Auxiliary\\Build\\vcvarsall.bat" >> $GITHUB_ENV 425 echo "VCVARSALL=$(vswhere -products \* -latest -property installationPath)\\VC\\Auxiliary\\Build\\vcvarsall.bat" >> $GITHUB_ENV
423 if [ "${{ matrix.features }}" != "TINY" ]; then 426 if [ "${{ matrix.features }}" != "TINY" ]; then
424 if [ "${{ matrix.arch }}" = "x86" ]; then 427 if [ "${{ matrix.arch }}" = "x86" ]; then
425 choco install python2 --forcex86 428 choco install python2 --no-progress --forcex86
426 else 429 else
427 choco install python2 430 choco install python2 --no-progress
428 fi 431 fi
429 fi 432 fi
430 python3_dir=$(cat "/proc/$cygreg/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}$pyreg/InstallPath/@") 433 python3_dir=$(cat "/proc/$cygreg/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}$pyreg/InstallPath/@")
431 echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV 434 echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV
432 435