Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Pasero
otb
Commits
82c06589
Commit
82c06589
authored
Jun 06, 2019
by
Guillaume Pasero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: add specific test, disable other platforms for now
parent
a9c3a5e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
43 deletions
+48
-43
.gitlab-ci.yml
.gitlab-ci.yml
+42
-42
CI/ubuntu-18.04-llvm-xdk.cmake
CI/ubuntu-18.04-llvm-xdk.cmake
+1
-1
Examples/Tutorials/test/CMakeLists.txt
Examples/Tutorials/test/CMakeLists.txt
+5
-0
No files found.
.gitlab-ci.yml
View file @
82c06589
...
...
@@ -64,11 +64,11 @@ fast-build:
-
build/*/*.log
#CMake log
-
log/*.txt
# Others
debian-build
:
extends
:
.common-build
image
:
$BUILD_IMAGE_REGISTRY/otb-debian-native:unstable
script
:
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=debian-unstable-gcc
#~
debian-build:
#~
extends: .common-build
#~
image: $BUILD_IMAGE_REGISTRY/otb-debian-native:unstable
#~
script:
#~
- xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=debian-unstable-gcc
.common-prepare
:
extends
:
.general
...
...
@@ -108,42 +108,42 @@ ubuntu-superbuild-build:
-
build/Documentation/Doxygen/OTB-Doxygen-*.tar.bz2
## CentOS superbuild
centos-superbuild-prepare
:
extends
:
.common-prepare
image
:
$BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6
script
:
-
ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
centos-superbuild-build
:
extends
:
.common-build
image
:
$BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6
script
:
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
dependencies
:
-
centos-superbuild-prepare
#~
centos-superbuild-prepare:
#~
extends: .common-prepare
#~
image: $BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6
#~
script:
#~
- ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
#~
#~
centos-superbuild-build:
#~
extends: .common-build
#~
image: $BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6
#~
script:
#~
- xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
#~
- xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
#~
dependencies:
#~
- centos-superbuild-prepare
## MacOS superbuild
macos-superbuild-prepare
:
tags
:
-
macos
extends
:
.common-prepare
before_script
:
# No need to install lfs as this machine is persistent
# No need to do git config
# Checkout the expected branch
-
export GIT_LFS_SKIP_SMUDGE=1
-
git checkout -f -q $CI_COMMIT_SHA
-
export GIT_LFS_SKIP_SMUDGE=0
script
:
-
ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
macos-superbuild-build
:
tags
:
-
macos
extends
:
.common-build
script
:
-
ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
-
ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-macos-superbuild
dependencies
:
-
macos-superbuild-prepare
#~
macos-superbuild-prepare:
#~
tags:
#~
- macos
#~
extends: .common-prepare
#~
before_script:
#
~ #
No need to install lfs as this machine is persistent
#
~ #
No need to do git config
#
~ #
Checkout the expected branch
#~
- export GIT_LFS_SKIP_SMUDGE=1
#~
- git checkout -f -q $CI_COMMIT_SHA
#~
- export GIT_LFS_SKIP_SMUDGE=0
#~
script:
#~
- ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
#~
#~
macos-superbuild-build:
#~
tags:
#~
- macos
#~
extends: .common-build
#~
script:
#~
- ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
#~
- ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-macos-superbuild
#~
dependencies:
#~
- macos-superbuild-prepare
CI/ubuntu-18.04-llvm-xdk.cmake
View file @
82c06589
...
...
@@ -41,7 +41,7 @@ BUILD_DOCUMENTATION:BOOL=ON
OTB_DOXYGEN_ITK_TAGFILE:FILEPATH=
${
CTEST_BINARY_DIRECTORY
}
/InsightDoxygenDocTag-4.13.0
OTB_DOXYGEN_ITK_DOXYGEN_URL:STRING=
\"
https://itk.org/Doxygen413/html
\"
"
)
set
(
ENABLE_DOXYGEN ON
)
#
set (ENABLE_DOXYGEN ON)
# The ITK doxygen tag file needs to be patched before being used for OTB
# See otb-devutils/Scripts/tagfile_fix.py
message
(
STATUS
"Get resources for Doxygen build ..."
)
...
...
Examples/Tutorials/test/CMakeLists.txt
View file @
82c06589
...
...
@@ -34,6 +34,11 @@ otb_add_test(NAME trTeTutorialsPipelineTest COMMAND ${OTB_TEST_DRIVER}
${
TEMP
}
/TutorialsPipelineOutput.png
)
otb_add_test
(
NAME trTeTutorialsPipelineTestDirect COMMAND $<TARGET_FILE:Pipeline>
${
INPUTDATA
}
/QB_Suburb.png
${
TEMP
}
/TutorialsPipelineOutput.png
)
otb_add_test
(
NAME trTeTutorialsFilteringPipelineTest COMMAND
${
OTB_TEST_DRIVER
}
--compare-image
${
NOTOL
}
${
BASELINE
}
/TutorialsFilteringPipelineOutput.png
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment