Skip to content

Commit

Permalink
Build on appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-duponchelle committed Jul 24, 2017
1 parent cb40dea commit f6a2ad1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
platform:
- x86

environment:
global:
CYG_ROOT: C:/cygwin
CYG_CACHE: C:/cygwin/var/cache/setup
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
CC: gcc
matrix:
- CYG_ARCH: x86

install:
- 'appveyor DownloadFile http://cygwin.com/setup-%CYG_ARCH%.exe -FileName setup.exe'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P make -P gcc-core -P cmake >NUL'
- 'appveyor DownloadFile http://www.mr511.de/software/libelf-0.8.13.tar.gz'
- 'mkdir libelf && tar xvzf libelf-0.8.13.tar.gz -C libelf'
- '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/libelf/libelf-0.8.13 && ./configure && make && make install'

build_script:
- '%CYG_ROOT%/bin/bash -lc "ls $APPVEYOR_BUILD_FOLDER'
- '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER && mkdir -p build'
- '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build && cmake ..'
- '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build && make'

artifacts:
- path: 'build/stable/dynamips.exe'

0 comments on commit f6a2ad1

Please sign in to comment.