summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: 877d6157b14e8bc4101451e615cc0f95c5bd29ad (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '{branch}-{build}'

branches:
  only:
    - master

image:
  - Ubuntu1804
  - Visual Studio 2015

configuration:
  - release

for:
-
  matrix:
    only:
      - image: Ubuntu1804

  install:
    - sudo apt-get update
    - sudo apt-get -y install flex bison qt5-default libpoppler-dev libpoppler-qt5-dev

  build_script:
    - qmake -v
    - qmake
    - make

  after_build:
    - ./deploy-linux.sh
    - mv dist/tikzit.tar.gz tikzit-linux.tar.gz
    - python scripts/gh-push.py tikzit-linux.tar.gz
-
  matrix:
    only:
      - image: Visual Studio 2015

  install:
    - choco install winflexbison
    - 'C:\Qt\5.12\mingw73_32\bin\qtenv2.bat'
    - cd C:\projects\tikzit

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

  build_script:
    - qmake -v
    - qmake
    - mingw32-make

  after_build:
    - deploy-win.bat
    - move dist\tikzit.zip tikzit-win.zip
    - python scripts\gh-push.py tikzit-win.zip