Skip to content

Commit

Permalink
Test Windows build with Appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed May 17, 2016
1 parent 022119e commit 497bcc8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
^appveyor\.yml$
^MANIFEST\.SKIP$
31 changes: 31 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
environment:
CMARK_VERSION: 0.25.2

install:
- path C:\projects\cmark\bin;C:\MinGW\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\System32;C:\Program Files\7-Zip;C:\Program Files (x86)\CMake\bin;C:\Program Files\AppVeyor\BuildAgent

# Install libcmark.
- if not exist C:\projects\sources mkdir C:\projects\sources
- cd C:\projects\sources
- appveyor DownloadFile https://github.com/jgm/cmark/archive/%CMARK_VERSION%.zip -FileName cmark.zip
- 7z x cmark.zip
- cd cmark-%CMARK_VERSION%
- mkdir build
- cd build
- cmake .. -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=C:\projects\cmark
- mingw32-make install

# Install Perl prereqs
- cd C:\projects\perl-commonmark
- ppm install dmake
- ppm install Devel-CheckLib

build_script:
- perl Makefile.PL INC=-IC:\projects\cmark\include LIBS="-LC:\projects\cmark\lib -lcmark.dll"
- dmake

test_script:
- dmake test

clone_depth: 5

0 comments on commit 497bcc8

Please sign in to comment.