gpodder/.appveyor.yml
2019-06-08 18:54:58 +02:00

33 lines
1 KiB
YAML

branches:
only:
- master
- /win.*/
# Start builds on tags only
# skip_non_tags: true
environment:
matrix:
- MSYS2_ARCH: i686
MSYSTEM: MINGW32
build_script:
- set
- set PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
- set CHERE_INVOKING=yes
- bash -lc "pacman --noconfirm --ask 20 -Suy"
# remove precisely conflicting packages
- 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"
# rerun per the "terminate MSYS2 without returning to shell and check for updates again" message
- bash -lc "pacman --noconfirm --ask 20 -Suy"
- bash -lc "bash .appveyor/msys2.sh"
artifacts:
- path: tools/win_installer/gpodder-*-contents.txt
- path: tools/win_installer/gpodder-*-installer.exe
- path: tools/win_installer/gpodder-*-portable.exe
deploy: off
on_failure:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))