|
@ -1,24 +0,0 @@ |
|
|
# 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 |
|
|
|