[AppVeyor] use pre-installed cygwin
[CI] refactor ci code