1image:
2- Ubuntu
3- Visual Studio 2019
4
5for:
6-
7  matrix:
8    except:
9      - image: Ubuntu
10  environment:
11    MSYSTEM: MINGW32
12    PATH: C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
13    CHERE_INVOKING: 1
14
15
16install:
17  - sh: sudo apt-get update
18  - sh: sudo apt-get --yes install libpoppler-glib-dev poppler-utils libwxgtk3.0-dev
19  - cmd: sh -lc "pacman --noconfirm -Syuu"
20  - cmd: sh -lc "pacman --noconfirm -S zip mingw-w64-i686-{poppler,wxWidgets}"
21
22build_script:
23  - sh: ./bootstrap && ./configure && make
24  - cmd: sh -lc "./bootstrap && ./configure && make"
25
26after_build:
27  - sh: make dist
28  - sh: appveyor PushArtifact diff-pdf*.tar.gz
29  - cmd: sh -lc "make windows-dist"
30  - ps: Get-ChildItem .\diff-pdf*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
31
32deploy:
33  provider: Environment
34  name: github
35  on:
36    APPVEYOR_REPO_TAG: true
37