Merge pull request #8645 from infectormp/patch-5 #1473
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows CI | ||
on: [push, pull_request] | ||
jobs: | ||
msys2-ucrt64: | ||
if: false # build is broken, thus disabled, see #8264 | ||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: UCRT64 | ||
update: true | ||
- name: Install dependencies | ||
run: ./scripts/msys2-install-deps | ||
- name: Build | ||
run: ./scripts/msys2-build | ||
- name: Test | ||
run: ./dist/borg.exe -V | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: borg-windows | ||
path: dist/borg.exe |