-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
89 lines (76 loc) · 1.98 KB
/
appveyor.yml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
image:
- Visual Studio 2019
- Ubuntu
environment:
matrix:
- TOXENV: py39
fast_finish: true
PYTHON_V: "3.9"
PYTHON: "C:\\Python39-x64"
stack: python %PYTHON_V%
install:
- python --version
- python -m pip install tox
- python -m pip install -r requirements.txt
# install wszst
- curl https://szs.wiimm.de/download/szs-v2.24a-r8414-x86_64.tar.gz -o wszst.tar.gz
- tar -xf wszst.tar.gz
- cd szs*
- export PATH=$PATH:$(pwd)/bin
- echo $PATH
- cd ..
build_script:
- export PYTHONPATH=$(pwd):$(pwd)/abmatt/build
- cd abmatt/build
- echo $APPVEYOR_BUILD_VERSION
- python build.py $APPVEYOR_BUILD_VERSION
- cd ../..
test_script:
- python -m tox -e $TOXENV
artifacts:
- path: 'abmatt\dist\abmatt_*.tar.gz'
name: Abmatt-tar
for:
-
matrix:
only:
- image: Visual Studio 2019
install:
# install wszst
- curl https://szs.wiimm.de/download/szs-v2.24a-r8414-cygwin64.zip -o wszst.zip
- 7z x wszst.zip
- cd szs*
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%;%CD%\bin
- cd ..
- python --version
- python -m pip install tox
- python -m pip install -r requirements.txt
build_script:
# NSIS
- SET PYTHONPATH=%CD%;%CD%\abmatt\build
- ps choco install nsis.install
- set "PATH=%PATH%;C:\Program Files (x86)\NSIS"
- curl -fsS https://nsis.sourceforge.io/mediawiki/images/7/7f/EnVar_plugin.zip -o plugin.zip
- 7z x plugin.zip -o"C:\Program Files (x86)\NSIS"
- cd abmatt/build
- echo %APPVEYOR_BUILD_VERSION%
- python build.py %APPVEYOR_BUILD_VERSION%
- cd ../..
test_script:
- python -m tox -e %TOXENV%
artifacts:
- path: 'abmatt\dist\abmatt_*.zip'
name: Abmatt-zip
deploy:
release: ABMatt v1.3.2
description: 'Release description'
provider: GitHub
auth_token:
secure: EI0LiQ9R33njUgd776KqE7CypD07ckGhRixFjMjhWEAKSRecHBDM69OairVM8Qik
artifact: Abmatt-zip Abmatt-tar
draft: true
prerelease: false
on:
branch:
- release
- master