From 3992d1d53722d8d2a3bc769194dbec6213cec0d1 Mon Sep 17 00:00:00 2001 From: fdai7782 Date: Mon, 5 Feb 2024 19:26:16 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml 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