Mercurial > vim
comparison .github/workflows/ci-windows.yaml @ 22011:2b6d696b063d v8.2.1555
patch 8.2.1555: not all tests are executed on Github Actions
Commit: https://github.com/vim/vim/commit/7d6979608ee83b06ccfab2589da3047b143defae
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 31 21:30:32 2020 +0200
patch 8.2.1555: not all tests are executed on Github Actions
Problem: Not all tests are executed on Github Actions.
Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
places. Add two tests to the list of flaky tests. (Ken Takata,
closes #6798)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Aug 2020 21:45:03 +0200 |
parents | a87ab06501ad |
children | 294f27aeced4 |
comparison
equal
deleted
inserted
replaced
22010:35e1f299493e | 22011:2b6d696b063d |
---|---|
125 rem Retry once. | 125 rem Retry once. |
126 curl -f -L %1 -o %2 || exit 1 | 126 curl -f -L %1 -o %2 || exit 1 |
127 ) | 127 ) |
128 goto :eof | 128 goto :eof |
129 | 129 |
130 - name: Copy src directory to src2 | |
131 shell: cmd | |
132 run: | | |
133 xcopy src src2\ /E > nul | |
134 | |
130 - name: Build (MSVC) | 135 - name: Build (MSVC) |
131 if: matrix.toolchain == 'msvc' | 136 if: matrix.toolchain == 'msvc' |
132 shell: cmd | 137 shell: cmd |
133 run: | | 138 run: | |
134 call "%VCVARSALL%" ${{ matrix.vcarch }} | 139 call "%VCVARSALL%" ${{ matrix.vcarch }} |
194 cd src | 199 cd src |
195 echo. | 200 echo. |
196 echo %COL_GREEN%vim version:%COL_RESET% | 201 echo %COL_GREEN%vim version:%COL_RESET% |
197 .\vim --version || exit 1 | 202 .\vim --version || exit 1 |
198 | 203 |
199 mkdir ..\src2 | |
200 xcopy testdir ..\src2\testdir\ /E > nul || exit 1 | |
201 copy evalfunc.c ..\src2 > nul | |
202 | |
203 echo %COL_GREEN%Start testing vim in background.%COL_RESET% | 204 echo %COL_GREEN%Start testing vim in background.%COL_RESET% |
204 start cmd /c "cd ..\src2\testdir & nmake -nologo -f Make_dos.mak VIMPROG=..\..\src\vim > nul & echo done>done.txt" | 205 start cmd /c "cd ..\src2\testdir & nmake -nologo -f Make_dos.mak VIMPROG=..\..\src\vim > nul & echo done>done.txt" |
205 | 206 |
206 echo %COL_GREEN%Test gvim:%COL_RESET% | 207 echo %COL_GREEN%Test gvim:%COL_RESET% |
207 cd testdir | 208 cd testdir |