|
Packit |
cdaae3 |
environment:
|
|
Packit |
cdaae3 |
global:
|
|
Packit |
cdaae3 |
LIBELF_INSTALL_PREFIX: "C:/libelf"
|
|
Packit |
cdaae3 |
matrix:
|
|
Packit |
cdaae3 |
- platform: Win32
|
|
Packit |
cdaae3 |
CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
|
|
Packit |
cdaae3 |
CMAKE_OPTIONS: ""
|
|
Packit |
cdaae3 |
- platform: Win32
|
|
Packit |
cdaae3 |
CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
|
|
Packit |
cdaae3 |
CMAKE_OPTIONS: "-Dshared=ON"
|
|
Packit |
cdaae3 |
- platform: Win32
|
|
Packit |
cdaae3 |
CMAKE_GENERATOR_NAME: "Visual Studio 14 2015"
|
|
Packit |
cdaae3 |
CMAKE_OPTIONS: "-Dshared=ON nonshared=OFF"
|
|
Packit |
cdaae3 |
- platform: x64
|
|
Packit |
cdaae3 |
CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"
|
|
Packit |
cdaae3 |
CMAKE_OPTIONS: ""
|
|
Packit |
cdaae3 |
- platform: x64
|
|
Packit |
cdaae3 |
CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"
|
|
Packit |
cdaae3 |
CMAKE_OPTIONS: "-Dshared=ON"
|
|
Packit |
cdaae3 |
- platform: x64
|
|
Packit |
cdaae3 |
CMAKE_GENERATOR_NAME: "Visual Studio 14 2015 Win64"
|
|
Packit |
cdaae3 |
CMAKE_OPTIONS: "-Dshared=ON nonshared=OFF"
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
configuration: Release
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
install:
|
|
Packit |
cdaae3 |
- git clone https://github.com/dvirtz/libelf.git
|
|
Packit |
cdaae3 |
- cd libelf
|
|
Packit |
cdaae3 |
- git checkout cmake
|
|
Packit |
cdaae3 |
- cmake . -B_build -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_INSTALL_PREFIX=%LIBELF_INSTALL_PREFIX%
|
|
Packit |
cdaae3 |
- cmake --build _build --config %CONFIGURATION%
|
|
Packit |
cdaae3 |
- cmake --build _build --config %CONFIGURATION% --target INSTALL
|
|
Packit |
cdaae3 |
- cd ..
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
build_script:
|
|
Packit |
cdaae3 |
- cmake . -B_build -G "%CMAKE_GENERATOR_NAME%" -DLIBELF_ROOT=%LIBELF_INSTALL_PREFIX% %OPTIONS%
|
|
Packit |
cdaae3 |
- cmake --build _build --config %CONFIGURATION%
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
test_script:
|
|
Packit |
cdaae3 |
- cmake --build _build --config %CONFIGURATION% --target RUN_TESTS
|
|
Packit |
cdaae3 |
|