2
0
Andy Li 8 жил өмнө
parent
commit
f3de62a14b
1 өөрчлөгдсөн 3 нэмэгдсэн , 4 устгасан
  1. 3 4
      appveyor.yml

+ 3 - 4
appveyor.yml

@@ -25,7 +25,7 @@ install:
     - 'git submodule update --init --recursive'
     # Install ocaml
     - 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" (
         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_openssl.dll >> C:\tools\php\php.ini
     - 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
     # setup python
     - cmd: mklink C:\Python34-x64\python3.exe C:\Python34-x64\python.exe
     - 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:
     - 'cd %APPVEYOR_BUILD_FOLDER%'