termimage 1.2.2

Display images in your terminal, kind of
Documentation
image:
  - Visual Studio 2022

version: 1.2.2-{build}

branches:
  except:
    - doc

skip_tags: false

platform: x64
configuration: Release

clone_folder: C:\termimage

install:
  - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%;C:\Users\appveyor\.cargo\bin
  - bash -lc "pacman --noconfirm -Syyu"
  - bash -lc "pacman --noconfirm -Syyu"
  - bash -lc "pacman --noconfirm -S mingw-w64-x86_64-toolchain zip"
  -
  - curl -SL https://win.rustup.rs/ -oC:\rustup-init.exe
  - C:\rustup-init.exe -y --default-host="x86_64-pc-windows-gnu"

build: off
build_script:
  - git submodule update --init --recursive
  - cargo build --verbose --release
  - cp target\release\termimage.exe termimage-v1.2.2.exe
  - strip --strip-all --remove-section=.comment --remove-section=.note termimage-v1.2.2.exe

test: off
test_script:
  - target\release\termimage.exe -s 100x100 assets/rust-logo-truecolor.png
  - cargo test --verbose --release

artifacts:
  - path: termimage-v1.2.2.exe

deploy:
  provider: GitHub
  artifact: termimage-v1.2.2.exe
  auth_token:
    secure: F9auuxFPHvnELZYfPe7+uXqHbBMWZuI6OOIVZGcG4p28TNy3sF/qhVDvuW1jgm/5PMYDkKBs9E/O+j+3iffnkafpR7JipckY4aUZ1IaB1M0anTGALfenkPPJ7pefoJEk
  on:
    appveyor_repo_tag: true

notifications:
  - provider: Email
    to:
      - nabijaczleweli@gmail.com
    on_build_status_changed: true