2019-08-20 21:48:18 +00:00
|
|
|
version: '{build}'
|
|
|
|
|
2022-02-05 17:04:47 +00:00
|
|
|
environment:
|
2019-08-20 21:48:18 +00:00
|
|
|
matrix:
|
2022-02-05 17:04:47 +00:00
|
|
|
- PYTHON: C:\Python38-x64
|
2019-08-20 21:48:18 +00:00
|
|
|
|
|
|
|
# Disable automatic builds
|
|
|
|
build: off
|
|
|
|
|
|
|
|
# Build artifacts: all wheel and exe files in the dist folder
|
|
|
|
artifacts:
|
|
|
|
- path: 'dist\*.whl'
|
|
|
|
- path: 'dist\*.exe'
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: scripts\win-download-openssl.ps1
|
|
|
|
- ps: |
|
|
|
|
& $env:PYTHON\python.exe -m venv borg-env
|
|
|
|
borg-env\Scripts\activate.ps1
|
|
|
|
python -m pip install -U pip
|
|
|
|
pip install -r requirements.d/development.txt
|
|
|
|
pip install wheel pyinstaller
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- ps: |
|
|
|
|
borg-env\Scripts\activate.ps1
|
|
|
|
scripts\win-build.ps1
|