Skip to content

Commit

Permalink
add appveyor.yml to configure Appveyor CI (build on Windows)
Browse files Browse the repository at this point in the history
- add `appveyor.yml` to `MANIFEST.SKIP`
- build using Strawberry Perl that is installed via Chocolatey
- it is necessary to set %TMPDIR% because the build does not have
  permission to write to the user's temporary directory

Closes issue for adding Appveyor support <#130>
  • Loading branch information
zmughal committed Aug 5, 2015
1 parent 2735b01 commit 028ac82
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -247,4 +247,5 @@ subdirs
^xt/

.travis.yml
appveyor.yml
README.md
17 changes: 17 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 1.0.{build}

install:
- cinst StrawberryPerl
- path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
- mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- perl -V
- cpan App::cpanminus
- cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n
- 'echo End intall at: & time /t'

build_script:
- perl Makefile.PL

test_script:
- dmake test

0 comments on commit 028ac82

Please sign in to comment.