title: how to integrate cmake in gitlab repository for Continuous Integration(CI)
body: <p>I was able to run the C++ Program and build &amp; test it using GitLab CI unit with the help of Docker Image of gcc. But now I want to compile the program in docker using <strong>cmake</strong> instead of g++. How to change the '.gitlab-ci.yml' file to support cmake.</p>
  
  <p><strong>Current File : .gitlab-ci.yml</strong></p>
  
  <pre><code>image: gcc
  before_script:
     - apt-get install --yes cmake libmatio-dev libblas-dev libsqlite3-dev libcurl4-openssl-dev
     - apt-get install --yes libarchive-dev liblzma-dev
  
  build:
    script:
      - ./runner.sh
      - ./bin/hello
  </code></pre>
  
  <p>./runner.sh</p>
  
  <pre><code>cmake -H. -Bbuild
  cmake --build build -- -j3
  </code></pre>