[Groonga-commit] groonga/groonga at 1804e10 [master] aveyor: use artifact

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 17 00:43:57 JST 2017


Kouhei Sutou	2017-10-17 00:43:57 +0900 (Tue, 17 Oct 2017)

  New Revision: 1804e1017fcaba75d3bf8aeadc9f033788a8c4c4
  https://github.com/groonga/groonga/commit/1804e1017fcaba75d3bf8aeadc9f033788a8c4c4

  Message:
    aveyor: use artifact

  Modified files:
    appveyor.yml

  Modified: appveyor.yml (+8 -2)
===================================================================
--- appveyor.yml    2017-10-16 18:25:32 +0900 (fca8c229a)
+++ appveyor.yml    2017-10-17 00:43:57 +0900 (9632660b0)
@@ -24,6 +24,9 @@ init:
   - call
       "C:\Program Files (x86)\Microsoft Visual Studio %VS_VERSION%.0\VC\vcvarsall.bat"
       %ARCH%
+  - ps: $env:GROONGA_VERSION = Get-Content base_version
+  - set GROONGA_INSTALL_FOLDER=groonga-%GROONGA_VERSION%
+  - set FULL_GROONGA_INSTALL_FOLDER=%APPVEYOR_BUILD_FOLDER%\%GROONGA_INSTALL_FOLDER%
 #  - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
 
 install:
@@ -47,7 +50,7 @@ build_script:
   - if "%ARCH%" == "amd64"
       set CMAKE_GENERATOR_NAME=%CMAKE_GENERATOR_NAME% Win64
   - cmake . -G "%CMAKE_GENERATOR_NAME%"
-      -DCMAKE_INSTALL_PREFIX=c:\groonga
+      -DCMAKE_INSTALL_PREFIX=%FULL_GROONGA_INSTALL_FOLDER%
       -DGRN_WITH_MRUBY=yes
       -DGRN_WITH_BUNDLED_MECAB=yes
       -DGRN_WITH_BUNDLED_MESSAGE_PACK=yes
@@ -64,9 +67,12 @@ before_test:
   - cd ..\..\..
 test_script:
   - ruby test\command\bin\grntest
-     --groonga c:\groonga\bin\groonga.exe
+     --groonga %FULL_GROONGA_INSTALL_FOLDER%\bin\groonga.exe
      --base-directory test\command
      --reporter mark
      --n-workers 1
      --timeout 60
      test\command\suite
+
+artifacts:
+  - path: %GROONGA_INSTALL_FOLODER%
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171017/436f581d/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index