-
Notifications
You must be signed in to change notification settings - Fork 38
/
appveyor.yml
61 lines (61 loc) · 2.59 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
version: 4.0.0.xxx.{build}
image:
- Visual Studio 2022
- Ubuntu2004
environment:
PY_PYTHON: 3.8
PY_DIR: C:\Python38-x64
PYTHONIOENCODING: utf_8
PIPENV_IGNORE_VIRTUALENVS: 1
stack: Python 3.8
init:
- cmd: py --list
- cmd: set PATH=%PY_DIR%;%PY_DIR%\Scripts;%PATH%
- cmd: py -%PY_PYTHON% -m pip install pipenv==2023.6.2
- cmd: py --list
- cmd: python -m compileall
- sh: sudo apt update --allow-releaseinfo-change
- sh: sudo apt-get -y install python3-pip python3-dev debhelper devscripts debhelper devscripts p7zip-full libssl-dev dpkg-dev build-essential libpng-dev libjpeg-dev libtiff-dev libsdl2-dev libnotify-dev freeglut3 ibus-gtk3 xvfb libhunspell-dev libgstreamer1.0-0
- sh: sudo apt-get -y install libwebkit2gtk-4.0
install:
- git submodule update --init --recursive
- cmd: choco install innosetup -y
- cmd: py -%PY_PYTHON% -m pipenv --python %PY_PYTHON% run python -m pip install --upgrade pip
- cmd: py -%PY_PYTHON% -m pipenv --python %PY_PYTHON% run python -m pip install attrdict
- cmd: py -%PY_PYTHON% -m pipenv install --dev -v
- cmd: py -%PY_PYTHON% -m pipenv run python -m pip install -e .
- cmd: py -%PY_PYTHON% -m pipenv run python -m pip install -e ./owbuildtools
- cmd: py -%PY_PYTHON% -m pipenv run python -m pip list
- sh: python -m pip install pipenv
- sh: pipenv run python -m pip install --upgrade pip
- sh: pipenv run python -m pip install attrdict
- sh: pipenv run pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython==4.2.1
- sh: pipenv run python -m pip install -e .
- sh: pipenv run python -m pip install -e ./owbuildtools
- sh: pipenv install --dev -v
build_script:
- cmd: py -%PY_PYTHON% -m pipenv run inv win
- cmd: py -%PY_PYTHON% -m pipenv run inv win --is-stable
test_script:
- cmd: py -%PY_PYTHON% -m pipenv run inv test -p src/outwiker/tests
# - cmd: py -%PY_PYTHON% -m pipenv run inv coverage
- sh: xvfb-run pipenv run inv test -p src/outwiker/tests
artifacts:
- path: build/*/versions.xml
name: versions.xml
- path: build\*\windows\*.zip
name: windows_zip
- path: build\*\windows\*.exe
name: windows_installer
- path: build\*\windows\*.7z
name: windows_7z
- path: build/*/linux/*.zip
name: linux_zip
- path: build/*/linux/*.7z
name: linux_7z
- path: build/*/linux/*.deb
name: linux_deb
- path: build/*/linux/*.AppImage
name: linux_AppImage
- path: build\*\plugins\*\*.zip
name: plugins