File: .appveyor.yml

package info (click to toggle)
snappy 1.1.7-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,360 kB
  • ctags: 462
  • sloc: cpp: 3,482; makefile: 11
file content (41 lines) | stat: -rw-r--r-- 1,108 bytes parent folder | download | duplicates (3)
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
# Build matrix / environment variables are explained on:
# https://www.appveyor.com/docs/appveyor-yml/
# This file can be validated on: https://ci.appveyor.com/tools/validate-yaml

version: "{build}"

environment:
  matrix:
    # AppVeyor currently has no custom job name feature.
    # http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
    - JOB: Visual Studio 2017
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      CMAKE_GENERATOR: Visual Studio 15 2017
    - JOB: Visual Studio 2015
      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
      CMAKE_GENERATOR: Visual Studio 14 2015

platform:
  - x86
  - x64

configuration:
  - RelWithDebInfo
  - Debug

build:
  verbosity: minimal

build_script:
  - git submodule update --init --recursive
  - mkdir out
  - cd out
  - if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
  - cmake --version
  - cmake .. -G "%CMAKE_GENERATOR%"
      -DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
  - cmake --build . --config %CONFIGURATION%
  - cd ..

test_script:
  - out\%CONFIGURATION%\snappy_unittest