Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run appveyor.yml script locally?

Tags:

appveyor

I want to install mlpack in windows and I found the appveyor.yml script in github. Instead of following and executing each step manually, is there a way to run this script in my laptop? Like, something similar to a bat file?

like image 967
Sashank Avatar asked Mar 30 '17 10:03

Sashank


People also ask

What is AppVeyor Yml file?

appveyor. yml is a project configuration file in YAML format that should be placed in the root of your repository.

What is CI AppVeyor com?

AppVeyor CI is a continuous integration and deployment platform for . NET applications. It makes much easier to test, deploy and monitor their builds for developers. It is free for open-source projects and could be easily integrated with GitHub and BitBucket.


1 Answers

appveyor.ymlis configuration file for AppVeyor builds, and supposed to be executed on AppVeyor build VMs. I heard about project LocalAppVeyor which should help you to run this locally but I did not try it.

If you want just bat file, you can copy all commands from install and build_script to your bat file. Command with just - in the beginning are standard cmd commands. Command with just - ps: in the beginning are expected to run in PowerShell, however I do not see anything PowerShell specific in command is this file. Sure you need to remove - and - ps: to run them in bat file.

artifacts, notifications and other AppVeyor specific steps cannot be called from bat file, they require engine which understand this file, which is AppVeyor build or this LocalAppVeyor which again I never tested.

like image 179
Ilya Finkelsheyn Avatar answered Sep 29 '22 09:09

Ilya Finkelsheyn