aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-09-16 19:29:43 +0200
committererw7 <erw7.github@gmail.com>2020-12-16 13:12:14 +0900
commitd7051705d04686ca6887c54c84af0db02621398a (patch)
tree79f13d11f0bc9c37f4f86e05c660c4049f61b447 /.github/workflows
parentc3b9c35876bf82b5bd53543bc7222ef3599eb057 (diff)
downloadrneovim-d7051705d04686ca6887c54c84af0db02621398a.tar.gz
rneovim-d7051705d04686ca6887c54c84af0db02621398a.tar.bz2
rneovim-d7051705d04686ca6887c54c84af0db02621398a.zip
ci: setup GitHub actions for windows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci_windows.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/ci_windows.yml b/.github/workflows/ci_windows.yml
new file mode 100644
index 0000000000..45702087da
--- /dev/null
+++ b/.github/workflows/ci_windows.yml
@@ -0,0 +1,39 @@
+name: Run Windows CI
+
+on: [push, pull_request]
+
+env:
+ DEPS_BUILD_DIR: "C:/projects/nvim-deps"
+ DEPS_PREFIX: "C:/projects/nvim-deps/usr"
+ # Silence/redirect errors due to missing locking support (via libgcov).
+ # GCOV_ERROR_FILE: "$(TEMP)/libgcov-errors.log"
+
+jobs:
+ test:
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ config: [ MINGW_64-gcov, MINGW_32, MSVC_64, MSVC_32 ]
+ name: Build and test
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: actions/cache@v2
+ with:
+ path: C:\projects\nvim-deps
+ key: ${{ matrix.config }}-${{ hashFiles('third-party\**') }}
+
+ - name: Run CI
+ run: powershell ci\build.ps1
+ env:
+ CONFIGURATION: ${{ matrix.config }}
+
+ - name: Upload artifacts
+ uses: actions/upload-artifact@v2
+ with:
+ name: builds
+ if-no-files-found: ignore
+ # These files will be zipped (making Neovim.zip double zipped)
+ path: |
+ build\Neovim.zip
+ build\bin\nvim.exe