CI: Do not use redundant EVMC_EXAMPLES

This commit is contained in:
Paweł Bylica 2019-03-14 17:55:07 +01:00
parent 3c1427fe7c
commit e3c3661119
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ before_build:
if ($env:GENERATOR) { if ($env:GENERATOR) {
if (!(test-path build)) { mkdir build } if (!(test-path build)) { mkdir build }
cd build cd build
cmake -Wno-dev -G "$env:GENERATOR" .. -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install cmake -Wno-dev -G "$env:GENERATOR" .. -DBUILD_SHARED_LIBS=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install
} }
build_script: build_script:

View File

@ -35,7 +35,7 @@ jobs:
- run: - run:
name: "Configure" name: "Configure"
working_directory: ~/build working_directory: ~/build
command: cmake ../project -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON $CMAKE_OPTIONS command: cmake ../project -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_SHARED_LIBS=ON -DEVMC_TESTING=ON $CMAKE_OPTIONS
- run: - run:
name: "Build" name: "Build"
command: cmake --build ~/build command: cmake --build ~/build