README.md 1.04 KB
Newer Older
1 2 3 4
# CI
This folder contains files for the continuous integration.

## Docker files
Antoine Regimbeau's avatar
Antoine Regimbeau committed
5
The docker files are: 
6

Antoine Regimbeau's avatar
Antoine Regimbeau committed
7 8
 * Dockerfile.nat: native environment to test OTB. Shark is not on this one as the version OTB is using is not packaged (since 6.7)
 * Dockerfile.shark.1.3.4: native environment and Shark version 3.1.4.
9 10

## CMake files
Antoine Regimbeau's avatar
Antoine Regimbeau committed
11
The docker files are:
12

Antoine Regimbeau's avatar
Antoine Regimbeau committed
13 14
 * main_ci.cmake: main script that will launch configure, build and soon test. It aims at configuring Ctest before running the different jobs (site name, build command...)
 * configure_option.cmake: script that gathers all options needed by OTB.
15

Antoine Regimbeau's avatar
Antoine Regimbeau committed
16 17
## Yaml file
The last file needed for the CI is the *.gitlab-ci.yml* it aims at interfacing with GitLab. Here is the basic structure: 
18 19 20
```
Job-name:
  stage: job-type
Antoine Regimbeau's avatar
Antoine Regimbeau committed
21
  image: docker_image_that_will_be_used
22 23 24 25 26 27
  script:
    - script that will be launch inside the docker
```

# CDash interaction
Results of build can be seen in CDash on the track "Experimental". The site is the image docker that run the build, and the build name should be the branch name that is tested.