diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1278643 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +# use the official gcc image, based on debian +# can use versions as well, like gcc:5.2 +# see https://hub.docker.com/_/gcc/ +image: gcc + +variables: + RUBY_VERSION: "2.x" # Adjust version as needed + +before_script: + - apt-get update -qy + - apt-get install -y ruby + - gem install ceedling + +build: + stage: build + script: + - ceedling new . + - ceedling clobber # Clean previous build artifacts + - ceedling compile + +test: + stage: test + script: + - ceedling test:all