aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml60
1 files changed, 1 insertions, 59 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index cf1ea48506..d383d96de2 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -193,65 +193,7 @@ jobs:
run: cat $(find "$LOG_DIR" -type f)
windows:
- runs-on: windows-2022
- timeout-minutes: 45
- strategy:
- fail-fast: false
- matrix:
- test: [functional, old]
- steps:
- - uses: actions/checkout@v4
- - uses: ./.github/actions/setup
-
- - name: Build deps
- run: |
- cmake -S cmake.deps -B .deps -G Ninja -D CMAKE_BUILD_TYPE='RelWithDebInfo'
- cmake --build .deps
-
- - name: Build
- run: |
- cmake --preset ci -D CMAKE_BUILD_TYPE='RelWithDebInfo'
- cmake --build build
-
- - name: Install test deps
- run: |
- $PSNativeCommandArgumentPassing = 'Legacy'
-
- & build\bin\nvim.exe "--version"
-
- # Ensure that the "win32" feature is set.
- & build\bin\nvim -u NONE --headless -c 'exe !has(\"win32\").\"cq\"'
-
- python -m pip install pynvim
- # Sanity check
- python -c "import pynvim; print(str(pynvim))"
-
- node --version
- npm.cmd --version
-
- npm.cmd install -g neovim
- Get-Command -CommandType Application neovim-node-host.cmd
- npm.cmd link neovim
-
- - if: ${{ matrix.test == 'functional' }}
- name: functionaltest
- timeout-minutes: 20
- run: cmake --build build --target functionaltest
-
- - if: ${{ matrix.test == 'old' }}
- uses: msys2/setup-msys2@v2
- with:
- update: true
- pacboy: >-
- make:p gcc:p diffutils:p
- release: false
-
- - if: ${{ matrix.test == 'old' }}
- name: oldtest
- shell: msys2 {0}
- run: |
- cd test/old/testdir
- mingw32-make VERBOSE=1
+ uses: ./.github/workflows/test_windows.yml
# This job tests the following things:
# - Check if Release, MinSizeRel and RelWithDebInfo compiles correctly.