2019-09-20 15:40:56 +00:00
|
|
|
image: Visual Studio 2019
|
|
|
|
platform: x64
|
|
|
|
version: 0.1.{build}
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- pyqt_gui
|
|
|
|
|
|
|
|
environment:
|
|
|
|
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
|
|
|
|
VCVARSARG: x64
|
2019-09-20 16:30:07 +00:00
|
|
|
MINICONDA: C:\Miniconda3-x64
|
2019-09-20 15:40:56 +00:00
|
|
|
|
2019-09-20 16:16:30 +00:00
|
|
|
build: false
|
|
|
|
|
2019-09-21 18:04:41 +00:00
|
|
|
artifacts:
|
|
|
|
- path: exe\__main__.dist\
|
|
|
|
name: ED_LRR
|
|
|
|
type: zip
|
|
|
|
|
|
|
|
- path: installer\Output\*.exe
|
|
|
|
name: Setup
|
|
|
|
type: file
|
|
|
|
|
2019-09-20 16:19:49 +00:00
|
|
|
install:
|
2019-09-20 16:35:22 +00:00
|
|
|
- set PATH=%MINICONDA%\\Library\\bin;%MINICONDA%\\Scripts;%USERPROFILE%\\.cargo\\bin;%PATH%
|
2019-09-21 18:11:17 +00:00
|
|
|
- set PATH="C:\\Program Files (x86)\\Inno Setup 5";%PATH%
|
2019-09-20 15:40:56 +00:00
|
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
|
|
- rustup-init -yv --default-toolchain nightly --default-host x86_64-pc-windows-msvc
|
|
|
|
- if defined VCVARS call "%VCVARS%" %VCVARSARG%
|
2019-09-20 16:19:49 +00:00
|
|
|
- conda activate
|
2019-09-20 15:40:56 +00:00
|
|
|
|
2019-09-20 16:16:30 +00:00
|
|
|
test_script:
|
2019-09-21 18:04:41 +00:00
|
|
|
- python build_gui.py
|
|
|
|
- pip install .[dev]
|
|
|
|
- python -m nuitka --plugin-enable=multiprocessing --remove-output --plugin-enable=qt-plugins --standalone --assume-yes-for-downloads --follow-imports --output-dir=exe ed_lrr_gui\__main__.py
|
|
|
|
- rename exe\__main__.dist\__main__.exe ED_LRR.exe
|
|
|
|
- cd installer
|
|
|
|
- iscc /QP ED_LRR.iss
|
|
|
|
|