You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
475 B

  1. # use the official gcc image, based on debian
  2. # can use versions as well, like gcc:5.2
  3. # see https://hub.docker.com/_/gcc/
  4. image: gcc
  5. variables:
  6. RUBY_VERSION: "2.x" # Adjust version as needed
  7. before_script:
  8. - apt-get update -qy
  9. - apt-get install -y ruby
  10. - gem install ceedling
  11. build:
  12. stage: build
  13. script:
  14. - ceedling new .
  15. - ceedling clobber # Clean previous build artifacts
  16. - ceedling compile
  17. test:
  18. stage: test
  19. script:
  20. - ceedling test:all