aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-12-30 23:16:32 -0500
committerJames McCoy <jamessan@jamessan.com>2020-12-31 00:14:37 -0500
commit0aa6b40599723d5f086cc0f9de4d807416420c8b (patch)
treedee7d57b3970a3441961c139f0b7c65562d75ca1
parent0efbab5f5e670ca33ea4d0ed20d9702aab8d7de1 (diff)
downloadrneovim-0aa6b40599723d5f086cc0f9de4d807416420c8b.tar.gz
rneovim-0aa6b40599723d5f086cc0f9de4d807416420c8b.tar.bz2
rneovim-0aa6b40599723d5f086cc0f9de4d807416420c8b.zip
ci: Add Windows binaries to the release
-rw-r--r--.github/workflows/release.yml31
1 files changed, 30 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6905f8dd35..7587f62e59 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -105,8 +105,35 @@ jobs:
path: build/release/nvim-macos.tar.gz
retention-days: 1
+ windows:
+ runs-on: windows-2016
+ env:
+ DEPS_BUILD_DIR: "C:/projects/nvim-deps"
+ DEPS_PREFIX: "C:/projects/nvim-deps/usr"
+ strategy:
+ matrix:
+ include:
+ - config: MSVC_64
+ archive: nvim-win64
+ - config: MSVC_32
+ archive: nvim-win32
+ name: windows (${{ matrix.config }})
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - run: powershell ci\build.ps1 -NoTests
+ env:
+ CONFIGURATION: ${{ matrix.config }}
+ - run: move build\Neovim.zip build\${{ matrix.archive }}.zip
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ matrix.archive }}
+ path: build/${{ matrix.archive }}.zip
+ retention-days: 1
+
publish:
- needs: [linux, appimage, macOS]
+ needs: [linux, appimage, macOS, windows]
runs-on: ubuntu-20.04
steps:
- uses: actions/download-artifact@v2
@@ -143,6 +170,8 @@ jobs:
nvim-linux64.tar.gz:./nvim-linux64/nvim-linux64.tar.gz
nvim.appimage:./appimage/nvim.appimage
nvim.appimage.zsync:./appimage/nvim.appimage.zsync
+ nvim-win32.zip:./nvim-win32/nvim-win32.zip
+ nvim-win64.zip:./nvim-win64/nvim-win64.zip
body: |
${{ env.SUBJECT }}
```