summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: 9f2828f7154a8b060f44d4f5a73ccb374d50ad5f (plain)
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
version: '{branch}-{build}'

branches:
  only:
    - master

image:
  - Ubuntu1804
  - Visual Studio 2015

configuration:
  - release

install:
  - cmd: choco install winflexbison
  - cmd: 'C:\Qt\5.11.2\mingw53_32\bin\qtenv2.bat'
  - cmd: cd C:\projects\tikzit
  - sh: sudo apt-get update
  - sh: sudo apt-get -y install flex bison qt5-default libpoppler-dev libpoppler-qt5-dev

before_build:
  - ps: (new-object net.webclient).DownloadFile('http://tikzit.github.io/download/win32-deps.zip', 'c:\projects\tikzit\win32-deps.zip')
  - cmd: 7z x win32-deps.zip

build_script:
  - qmake -v
  - qmake
  - cmd: mingw32-make
  - sh: make

after_build:
  - sh: ./deploy-linux.sh
  - sh: mv dist/tikzit.tar.gz tikzit-linux.tar.gz
  #- sh: appveyor PushArtifact tikzit-linux.tar.gz
  - sh: python scripts/gh-push.py tikzit-linux.tar.gz
  - cmd: deploy-win.bat
  - cmd: move dist\tikzit.zip tikzit-win.zip
  - cmd: python scripts\gh-push.py tikzit-win.zip
  #- cmd: appveyor PushArtifact tikzit-win.zip