.gitlab-ci.yml 455 B

1234567891011121314151617181920
  1. tests:
  2. image: ubuntu:18.04
  3. script:
  4. - apt-get update
  5. - apt-get install --yes --no-install-recommends
  6. cmake
  7. g++
  8. libgtest-dev
  9. libhdf4-dev
  10. make
  11. - cd /usr/src/googletest
  12. - cmake .
  13. - make install --jobs=$(nproc)
  14. - cd $CI_PROJECT_DIR
  15. - cmake .
  16. - make --jobs=$(nproc)
  17. - tests/hdf4cpp-tests
  18. # https://docs.gitlab.com/ce/ci/yaml/README.html
  19. # https://docs.gitlab.com/ee/ci/ci_cd_for_external_repos/github_integration.html