mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-27 18:28:42 +00:00
28 lines
571 B
YAML
28 lines
571 B
YAML
|
version: '{build}'
|
||
|
|
||
|
environment:
|
||
|
matrix:
|
||
|
- PYTHON: C:\Python37-x64
|
||
|
|
||
|
# 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
|