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
24 lines
475 B
# 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
|