summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: 93060cddd278f2e3e5a1f1a4e6ce26589fc4e57d (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '{branch}-{build}'

branches:
  only:
    - master

image:
  - macos
  - Ubuntu1804
  - Visual Studio 2015

configuration:
  - release

for:
-
  matrix:
    only:
      - image: macos

  install:
    - brew update
    - brew install qt5
    - brew link --force qt5
    - brew install poppler

  build_script:
    - qmake -v
    - qmake -r
    - make

  after_build:
    - '(chmod +x deploy-osx.sh && ./deploy-osx.sh && mv tikzit.dmg tikzit-osx.dmg)'
    - python scripts/gh-push.py tikzit-osx.dmg
-
  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