ci: Add Windows binaries to the release

This commit is contained in:
James McCoy
2020-12-30 23:16:32 -05:00
parent 0efbab5f5e
commit 0aa6b40599

View File

@@ -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 }}
```