File: appveyor.yml

package info (click to toggle)
dwarfutils 20180809-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,228 kB
  • sloc: ansic: 63,382; sh: 5,222; cpp: 4,041; makefile: 548; python: 445; awk: 11
file content (41 lines) | stat: -rw-r--r-- 1,340 bytes parent folder | download
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
environment:
  global:
    LIBELF_INSTALL_PREFIX: "C:/libelf"
  matrix:
    - platform: Win32
      CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
      CMAKE_OPTIONS: ""
    - platform: Win32
      CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
      CMAKE_OPTIONS: "-Dshared=ON"
    - platform: Win32
      CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
      CMAKE_OPTIONS: "-Dshared=ON nonshared=OFF"
    - platform: x64
      CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"
      CMAKE_OPTIONS: ""
    - platform: x64
      CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"
      CMAKE_OPTIONS: "-Dshared=ON"
    - platform: x64
      CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"
      CMAKE_OPTIONS: "-Dshared=ON nonshared=OFF"
  
configuration: Release

install:
  - git clone https://github.com/dvirtz/libelf.git
  - cd libelf
  - git checkout cmake
  - cmake . -B_build -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_INSTALL_PREFIX=%LIBELF_INSTALL_PREFIX%
  - cmake --build _build --config %CONFIGURATION%
  - cmake --build _build --config %CONFIGURATION% --target INSTALL
  - cd ..

build_script:
  - cmake . -B_build -G "%CMAKE_GENERATOR_NAME%" -DLIBELF_ROOT=%LIBELF_INSTALL_PREFIX% %OPTIONS%
  - cmake --build _build --config %CONFIGURATION%
  
test_script:
  - cmake --build _build --config %CONFIGURATION% --target RUN_TESTS