summaryrefslogtreecommitdiffstats
path: root/storage/mroonga/appveyor.yml
blob: 3cf8ff8d3318a91640f3e20b71bfd79fcfdcbf7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: "{build}"
clone_depth: 10
environment:
  global:
    MARIADB_VERSION: 10.1.26
  matrix:
    - CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
    - CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"

install:
  - cd ..
  - choco install -y curl 7zip.commandline
  - curl -O http://mirror.jmu.edu/pub/mariadb/mariadb-%MARIADB_VERSION%/source/mariadb-%MARIADB_VERSION%.tar.gz
  - 7z x mariadb-%MARIADB_VERSION%.tar.gz
  - 7z x mariadb-%MARIADB_VERSION%.tar > nul
  - cd mariadb-%MARIADB_VERSION%
  - rmdir /S /Q storage\mroonga\
  - move ..\mroonga storage\mroonga
  - git clone --quiet --depth 1 --recursive https://github.com/groonga/groonga.git ..\groonga
  - rmdir /S /Q ..\groonga\test\
  - cd ..\groonga\vendor
  - c:\Ruby22-x64\bin\ruby -v download_lz4.rb
  - c:\Ruby22-x64\bin\ruby -v download_mecab.rb
  - cd ..\..\mariadb-%MARIADB_VERSION%
  - mkdir storage\mroonga\vendor
  - move ..\groonga storage\mroonga\vendor\groonga
  - git clone --quiet --depth 1 https://github.com/groonga/groonga-normalizer-mysql.git storage\mroonga\vendor\groonga\vendor\plugins\groonga-normalizer-mysql
build_script:
  - "echo # > win\\packaging\\CMakeLists.txt"
  - cmake . -G "%CMAKE_GENERATOR_NAME%"
      -DCMAKE_BUILD_TYPE=Debug
      -DPLUGIN_ARCHIVE=NO
      -DPLUGIN_BLACKHOLE=NO
      -DPLUGIN_CASSANDRA=NO
      -DPLUGIN_CONNECT=NO
      -DPLUGIN_CSV=NO
      -DPLUGIN_EXAMPLE=NO
      -DPLUGIN_FEDERATED=NO
      -DPLUGIN_FEDERATEDX=NO
      -DPLUGIN_HEAP=NO
      -DPLUGIN_INNOBASE=NO
      -DPLUGIN_MYISAM=NO
      -DPLUGIN_MYISAMMRG=NO
      -DPLUGIN_OQGRAPH=NO
      -DPLUGIN_PERFSCHEMA=NO
      -DPLUGIN_SEQUENCE=NO
      -DPLUGIN_SPHINX=NO
      -DPLUGIN_SPIDER=NO
      -DPLUGIN_TEST_SQL_DISCOVERY=NO
      -DPLUGIN_TOKUDB=NO
      -DPLUGIN_XTRADB=NO
      -DWITH_UNIT_TESTS=OFF
      -DWITH_MARIABACKUP=OFF
      -DGRN_WITH_BUNDLED_MECAB=ON
  - cmake --build . --config Debug

notifications:
  - provider: Email
    to:
      - groonga-mysql-commit@lists.sourceforge.jp
    on_build_status_changed: true

test: off