-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
65 lines (54 loc) · 1.64 KB
/
appveyor.yml
File metadata and controls
65 lines (54 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
build: off
version: "0.1.0-{build}"
image:
- macOS
- Visual Studio 2019
platform:
- x64
environment:
matrix:
- PYTHON_WIN: "C:\\Python38-x64"
PYTHON_MAC: "venv3.9.1"
PYTHON_UBU: "venv3.9/bin/python"
PYTHON_VERSION: "3.9.1"
PYTHON_ARCH: "64"
for:
-
matrix:
only:
- image: Visual Studio 2019
init:
- "ECHO %PYTHON_WIN% %PYTHON_VERSION% %PYTHON_ARCH%"
- "%PYTHON_WIN%\\python.exe --version"
install:
- "git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git"
- "powershell gl-ci-helpers/appveyor/install_opengl.ps1"
- "SET PYVISTA_OFF_SCREEN=True"
- "%PYTHON_WIN%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON_WIN%\\python.exe -m pip install .[cx_freeze]"
- "%PYTHON_WIN%\\python.exe cx_freeze_setup.py bdist_msi"
- ps: "ls"
artifacts:
path: dist/*.msi
name: Windows App
-
matrix:
only:
- image: macOS
init:
- "ls"
- "echo $PYTHON_MAC $PYTHON_VERSION $PYTHON_ARCH"
- "$HOME/$PYTHON_MAC/bin/python --version"
install:
- "$HOME/$PYTHON_MAC/bin/python -m pip install -r requirements.txt"
- "$HOME/$PYTHON_MAC/bin/python -m pip install .[cx_freeze]"
- "$HOME/$PYTHON_MAC/bin/python cx_freeze_setup.py bdist_mac --iconfile icon.icns --bundle-name=yttt --custom-info-plist Info.plist -q"
- "npm i -g create-dmg"
- "cd build"
- "create-dmg yttt.app || true"
- "mv \"yttt undefined.dmg\" yttt-$APPVEYOR_REPO_TAG_NAME-macos.dmg"
- "ls"
- "cd ../"
artifacts:
path: build/*.dmg
name: Mac App