The rename downloads extension should not improt Gtk when used in gpo.
[gpodder.git] / .appveyor.yml
blobe8fa16df6e85bd3279eea82fd36fc1d5fbbc132d
1 branches:
2   only:
3     - master
4     - /win.*/
6 # Start builds on tags only
7 # skip_non_tags: true
9 image:
10   - Visual Studio 2019
12 environment:
13   matrix:
14     - MSYS2_ARCH: i686
15       MSYSTEM: MINGW32
17 build_script:
18   - set
19   - set PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
20   - set CHERE_INVOKING=yes
21   # remove precisely conflicting packages
22   - bash -lc "pacman --noconfirm --ask 20 --remove mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc mingw-w64-i686-gcc-ada mingw-w64-i686-gcc-objc"
23   # workaround updating msys2-runtime breaks all programs until last one exited
24   - bash -lc "pacman -Syuu --noconfirm"
25   - Powershell.exe "Stop-Process -name dirmngr -Erroraction silentlycontinue; echo killing_dirmng"
26   - Powershell.exe "Stop-Process -name gpg-agent -Erroraction silentlycontinue; echo killing_gpg-agent"
27   - bash -lc "pacman -Syuu --noconfirm"
28   - Powershell.exe "Stop-Process -name dirmngr -Erroraction silentlycontinue; echo killing_dirmng"
29   - Powershell.exe "Stop-Process -name gpg-agent -Erroraction silentlycontinue; echo killing_gpg-agent"
30   # finally run the install process
31   - bash -lc "bash .appveyor/msys2.sh"
33 artifacts:
34   - path: tools/win_installer/gpodder-*-contents.txt
35   - path: tools/win_installer/gpodder-*-installer.exe
36   - path: tools/win_installer/gpodder-*-portable.exe
38 deploy: off
40 on_failure:
41   - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))