[DEV] update next lutin version

This commit is contained in:
Edouard DUPIN 2015-09-24 21:44:04 +02:00
parent 4dbbfa05f9
commit e8efb4cc1b
7 changed files with 94 additions and 89 deletions

View File

@ -3,10 +3,6 @@ language:
sudo: false sudo: false
compiler:
- clang
- gcc
os: os:
- linux - linux
- osx - osx
@ -26,8 +22,18 @@ addons:
install: install:
- pip install --user lutin - pip install --user lutin
env:
- CONF=debug BOARD=Linux BUILDER=clang GCOV=
- CONF=release BOARD=Linux BUILDER=clang GCOV=
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=
- CONF=release BOARD=Linux BUILDER=gcc GCOV=
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov
before_script: before_script:
- cd .. - cd ..
- wget http://atria-soft.com/ci/coverage_send.py
- wget http://atria-soft.com/ci/test_send.py
- wget http://atria-soft.com/ci/warning_send.py
- mkdir bin - mkdir bin
- curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo - curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
- chmod a+x bin/repo - chmod a+x bin/repo
@ -43,11 +49,10 @@ before_script:
- cd .. - cd ..
- pwd - pwd
- ls -l - ls -l
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi - if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
- if [ "$CXX" == "g++" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
script: script:
- lutin -C -P -c$BUILDER $COMPILATOR_OPTION -mdebug -p ege egeCameraPosition egeCollision egeDoubleView egeMeshCreator egeRayTest - lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p ege egeCameraPosition egeCollision egeDoubleView egeMeshCreator egeRayTest
notifications: notifications:
email: email:

View File

@ -7,9 +7,9 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'ege', 'LIBRARY') my_module = module.Module(__file__, 'ege', 'LIBRARY')
# add the file to compile: # add the file to compile:
myModule.add_src_file([ my_module.add_src_file([
'ege/debug.cpp', 'ege/debug.cpp',
'ege/AudioElement.cpp', 'ege/AudioElement.cpp',
'ege/AudioEngine.cpp', 'ege/AudioEngine.cpp',
@ -47,15 +47,15 @@ def create(target):
'ege/physicsShape/PhysicsSphere.cpp', 'ege/physicsShape/PhysicsSphere.cpp',
'ege/Ray.cpp', 'ege/Ray.cpp',
]) ])
myModule.copy_folder('data/ParticuleMesh.*','') my_module.copy_folder('data/ParticuleMesh.*','')
# name of the dependency # name of the dependency
myModule.add_module_depend(['ewol', 'bullet-physics']) my_module.add_module_depend(['ewol', 'bullet-physics'])
myModule.compile_flags('c++', [ my_module.compile_flags('c++', [
'-Wno-write-strings', '-Wno-write-strings',
'-Wmissing-field-initializers', '-Wmissing-field-initializers',
'-Wall']) '-Wall'])
myModule.add_export_path(tools.get_current_path(__file__)) my_module.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -9,31 +9,31 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'egeCameraPosition', 'PACKAGE') my_module = module.Module(__file__, 'egeCameraPosition', 'PACKAGE')
myModule.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
'appl/main.cpp', 'appl/main.cpp',
'appl/Windows.cpp' 'appl/Windows.cpp'
]) ])
myModule.add_module_depend('ege') my_module.add_module_depend('ege')
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# set the package properties : # set the package properties :
myModule.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
myModule.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
myModule.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", "org")
myModule.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", "ege")
myModule.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"])
myModule.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
myModule.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
myModule.pkg_set("DESCRIPTION", "ege sample : MeshCreator") my_module.pkg_set("DESCRIPTION", "ege sample : MeshCreator")
myModule.pkg_set("NAME", "egeMeshCreator") my_module.pkg_set("NAME", "egeMeshCreator")
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -9,31 +9,31 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'egeCollision', 'PACKAGE') my_module = module.Module(__file__, 'egeCollision', 'PACKAGE')
myModule.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
'appl/main.cpp', 'appl/main.cpp',
'appl/Windows.cpp' 'appl/Windows.cpp'
]) ])
myModule.add_module_depend('ege') my_module.add_module_depend('ege')
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# set the package properties : # set the package properties :
myModule.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
myModule.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
myModule.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", "org")
myModule.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", "ege")
myModule.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"])
myModule.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
myModule.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
myModule.pkg_set("DESCRIPTION", "ege sample : Collision") my_module.pkg_set("DESCRIPTION", "ege sample : Collision")
myModule.pkg_set("NAME", "Collision") my_module.pkg_set("NAME", "Collision")
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -9,31 +9,31 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'egeDoubleView', 'PACKAGE') my_module = module.Module(__file__, 'egeDoubleView', 'PACKAGE')
myModule.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
'appl/main.cpp', 'appl/main.cpp',
'appl/Windows.cpp' 'appl/Windows.cpp'
]) ])
myModule.add_module_depend('ege') my_module.add_module_depend('ege')
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# set the package properties : # set the package properties :
myModule.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
myModule.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
myModule.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", "org")
myModule.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", "ege")
myModule.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"])
myModule.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
myModule.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
myModule.pkg_set("DESCRIPTION", "ege sample : DoubleView") my_module.pkg_set("DESCRIPTION", "ege sample : DoubleView")
myModule.pkg_set("NAME", "egeDoubleView") my_module.pkg_set("NAME", "egeDoubleView")
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -9,31 +9,31 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'egeMeshCreator', 'PACKAGE') my_module = module.Module(__file__, 'egeMeshCreator', 'PACKAGE')
myModule.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
'appl/main.cpp', 'appl/main.cpp',
'appl/Windows.cpp' 'appl/Windows.cpp'
]) ])
myModule.add_module_depend('ege') my_module.add_module_depend('ege')
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# set the package properties : # set the package properties :
myModule.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
myModule.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
myModule.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", "org")
myModule.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", "ege")
myModule.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"])
myModule.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
myModule.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
myModule.pkg_set("DESCRIPTION", "ege sample : MeshCreator") my_module.pkg_set("DESCRIPTION", "ege sample : MeshCreator")
myModule.pkg_set("NAME", "egeMeshCreator") my_module.pkg_set("NAME", "egeMeshCreator")
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -9,31 +9,31 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'egeRayTest', 'PACKAGE') my_module = module.Module(__file__, 'egeRayTest', 'PACKAGE')
myModule.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
'appl/main.cpp', 'appl/main.cpp',
'appl/Windows.cpp' 'appl/Windows.cpp'
]) ])
myModule.add_module_depend('ege') my_module.add_module_depend('ege')
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
myModule.copy_folder("data/*") my_module.copy_folder("data/*")
# set the package properties : # set the package properties :
myModule.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
myModule.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
myModule.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", "org")
myModule.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", "ege")
myModule.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"])
myModule.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
myModule.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
myModule.pkg_set("DESCRIPTION", "ege sample : Ray test") my_module.pkg_set("DESCRIPTION", "ege sample : Ray test")
myModule.pkg_set("NAME", "egeRayTest") my_module.pkg_set("NAME", "egeRayTest")
# add the currrent module at the # add the currrent module at the
return myModule return my_module