Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fix in component install of examples

  • Loading branch information...
commit 5c76bb72670701b87d7a34833b97367dcd3be5fe 1 parent fff51bb
Peter Drahos authored
Showing with 54 additions and 2 deletions.
  1. +52 −0 .travis.yml
  2. +2 −2 CMakeLists.txt
View
52 .travis.yml
@@ -0,0 +1,52 @@
+#
+# LuaDist Travis-CI Hook
+#
+
+# We assume C build environments
+language: C
+
+# Try using multiple Lua Implementations
+env:
+ - TOOL="" # Use native compiler (GCC usually)
+ - COMPILER="clang" # Use clang
+# - COMPILER="fortran" # Use fortran, make sure to modify the matrix section
+ - TOOL="i686-w64-mingw32" # 32bit MinGW
+ - TOOL="x86_64-w64-mingw32" # 64bit MinGW
+ - TOOL="arm-linux-gnueabihf" # ARM hard-float (hf), linux
+
+# Crosscompile builds may fail
+matrix:
+ allow_failures:
+ - env: TOOL="i686-w64-mingw32"
+ - env: TOOL="x86_64-w64-mingw32"
+ - env: TOOL="arm-linux-gnueabihf"
+
+# Install dependencies
+install:
+ - git clone git://github.com/LuaDist/_util.git ~/_util
+ - ~/_util/travis install
+
+# Bootstap
+before_script:
+ - ~/_util/travis bootstrap
+
+# Build the module
+script:
+ - ~/_util/travis build
+
+# Execute additional tests or commands
+#after_script:
+# - ~/_util/travis test
+
+# Only watch the master branch
+branches:
+ only:
+ - master
+
+# Notify the LuaDist Dev group if needed
+notifications:
+ recipients:
+ - luadist-dev@googlegroups.com
+ email:
+ on_success: change
+ on_failure: always
View
4 CMakeLists.txt
@@ -94,7 +94,7 @@ set(BASE_SRCS
IF(HAVE_WAIT_H)
ADD_EXECUTABLE(ftrandom src/tools/ftrandom/ftrandom.c)
TARGET_LINK_LIBRARIES(ftrandom freetype m) # todo: m
- INSTALL(TARGETS ftrandom RUNTIME DESTINATION ${INSTALL_EXAMPLE} LIBRARY DESTINATION ${INSTALL_EXAMPLE} ARCHIVE DESTINATION ${INSTALL_EXAMPLE} COMPONENT Example)
+ INSTALL(TARGETS ftrandom DESTINATION ${INSTALL_EXAMPLE} COMPONENT Example)
ENDIF()
ADD_EXECUTABLE(test_afm src/tools/test_afm.c)
@@ -106,7 +106,7 @@ set(BASE_SRCS
ADD_EXECUTABLE(test_trig src/tools/test_trig.c)
TARGET_LINK_LIBRARIES(test_trig freetype m)
- INSTALL(TARGETS test_afm test_bbox test_trig RUNTIME DESTINATION ${INSTALL_EXAMPLE} LIBRARY DESTINATION ${INSTALL_EXAMPLE} ARCHIVE DESTINATION ${INSTALL_EXAMPLE} COMPONENT Example)
+ INSTALL(TARGETS test_afm test_bbox test_trig RUNTIME DESTINATION ${INSTALL_EXAMPLE} COMPONENT Example)
# Install Freetype Library
install_library(freetype)
Please sign in to comment.
Something went wrong with that request. Please try again.