浏览代码

[AppVeyor] install pcre

Andy Li 8 年之前
父节点
当前提交
f3de62a14b
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      appveyor.yml

+ 3 - 4
appveyor.yml

@@ -25,7 +25,7 @@ install:
     - 'git submodule update --init --recursive'
     - 'git submodule update --init --recursive'
     # Install ocaml
     # Install ocaml
     - curl -fsS -o cygwin-setup.exe --retry 3 https://cygwin.com/setup-x86.exe
     - curl -fsS -o cygwin-setup.exe --retry 3 https://cygwin.com/setup-x86.exe
-    - 'cygwin-setup.exe -g -q -R "%CYG_ROOT%" -P make -P git -P mingw64-i686-zlib -P rsync -P patch -P diffutils -P curl -P unzip -P m4 -P perl -P mingw64-i686-gcc-core'
+    - 'cygwin-setup.exe -g -q -R "%CYG_ROOT%" -P make -P git -P mingw64-i686-zlib -P rsync -P patch -P diffutils -P curl -P unzip -P m4 -P perl -P mingw64-i686-gcc-core -P mingw64-i686-pcre'
     - if not exist "opam32.tar.xz" (
     - if not exist "opam32.tar.xz" (
         curl -fsS -o opam32.tar.xz --retry 3 https://dl.dropboxusercontent.com/s/eo4igttab8ipyle/opam32.tar.xz
         curl -fsS -o opam32.tar.xz --retry 3 https://dl.dropboxusercontent.com/s/eo4igttab8ipyle/opam32.tar.xz
       )
       )
@@ -41,13 +41,12 @@ install:
     - echo extension=php_sqlite3.dll >> C:\tools\php\php.ini
     - echo extension=php_sqlite3.dll >> C:\tools\php\php.ini
     - echo extension=php_openssl.dll >> C:\tools\php\php.ini
     - echo extension=php_openssl.dll >> C:\tools\php\php.ini
     - RefreshEnv
     - RefreshEnv
-    # do not use chocolatey's shim, which is buggy when processing arguments
-    # see https://github.com/chocolatey/shimgen/issues/27
-    - set PATH=C:\ProgramData\chocolatey\lib\neko;%PATH%
     - neko -version
     - neko -version
     # setup python
     # setup python
     - cmd: mklink C:\Python34-x64\python3.exe C:\Python34-x64\python.exe
     - cmd: mklink C:\Python34-x64\python3.exe C:\Python34-x64\python.exe
     - set PATH=%PATH%;C:\Python34-x64
     - set PATH=%PATH%;C:\Python34-x64
+    # expose the dll files
+    - set "PATH=%PATH%;%CYG_ROOT%/usr/i686-w64-mingw32/sys-root/mingw/bin"
 
 
 build_script:
 build_script:
     - 'cd %APPVEYOR_BUILD_FOLDER%'
     - 'cd %APPVEYOR_BUILD_FOLDER%'