mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
debug/release: Add minimal debug/release CI builds
This commit enables both a minimal DEBUG and minimal RELEASE build on Travis-CI. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
37642f3b01
commit
ec9143e976
10
.travis.yml
10
.travis.yml
@ -16,11 +16,17 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- &run-with-clang-minimal
|
- &run-with-clang-minimal
|
||||||
stage: Clang 3.8 - minimal with unit tests
|
stage: Clang 3.8 - minimal with unit tests
|
||||||
env: TARGET=minimal
|
env:
|
||||||
|
- TARGET=minimal
|
||||||
|
- CMAKE_BUILD_TYPE=Debug
|
||||||
before_script: docker-compose pull ${TARGET}
|
before_script: docker-compose pull ${TARGET}
|
||||||
script:
|
script:
|
||||||
- export CC=clang-3.8 CXX=clang++-3.8
|
- export CC=clang-3.8 CXX=clang++-3.8
|
||||||
- BUILDARCH=MOCK docker-compose run ${TARGET}
|
- docker-compose run ${TARGET}
|
||||||
|
- <<: *run-with-clang-minimal
|
||||||
|
env:
|
||||||
|
- TARGET=minimal
|
||||||
|
- CMAKE_BUILD_TYPE=Release
|
||||||
- &run-with-clang
|
- &run-with-clang
|
||||||
stage: Clang 3.8
|
stage: Clang 3.8
|
||||||
env: TARGET=python
|
env: TARGET=python
|
||||||
|
@ -16,6 +16,7 @@ services:
|
|||||||
- BUILDCORDOVA=${BUILDCORDOVA:-OFF}
|
- BUILDCORDOVA=${BUILDCORDOVA:-OFF}
|
||||||
- BUILDSWIGNODE=${BUILDSWIGNODE:-OFF}
|
- BUILDSWIGNODE=${BUILDSWIGNODE:-OFF}
|
||||||
- BUILDEXAMPLES=${BUILDEXAMPLES:-OFF}
|
- BUILDEXAMPLES=${BUILDEXAMPLES:-OFF}
|
||||||
|
- CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
|
||||||
- IPK=${IPK:-OFF}
|
- IPK=${IPK:-OFF}
|
||||||
- RPM=${RPM:-OFF}
|
- RPM=${RPM:-OFF}
|
||||||
- NPM=${NPM:-OFF}
|
- NPM=${NPM:-OFF}
|
||||||
|
@ -20,5 +20,6 @@ cmake \
|
|||||||
-DBUILDTESTS=$BUILDTESTS \
|
-DBUILDTESTS=$BUILDTESTS \
|
||||||
-DWERROR=$WERROR \
|
-DWERROR=$WERROR \
|
||||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
||||||
-H. \
|
-H. \
|
||||||
-Bbuild
|
-Bbuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user