Skip to content
Snippets Groups Projects
Commit 908bc20a authored by Damiano Amatruda's avatar Damiano Amatruda
Browse files

[CI/CD] Refine .gitlab-ci.yml

- A debug build is now done, besides a release build.
- Format check is now optional, like Cppcheck (temporary).
parent a368f04b
No related branches found
No related tags found
No related merge requests found
...@@ -29,35 +29,43 @@ stages: ...@@ -29,35 +29,43 @@ stages:
# Stage build # Stage build
build: build-release:
stage: build stage: build
tags: tags:
- miosix - miosix
script: script:
- ./sbs - ./sbs
build-debug:
stage: build
tags:
- miosix
script:
- ./sbs --debug
# Stage lint # Stage lint
copyright: cppcheck:
stage: lint stage: lint
script: script:
- ./scripts/linter.py --copyright src - ./scripts/linter.py --cppcheck src
allow_failure: true
format: format:
stage: lint stage: lint
script: script:
- ./scripts/linter.py --format src - ./scripts/linter.py --format src
allow_failure: true
find: copyright:
stage: lint stage: lint
script: script:
- ./scripts/linter.py --find src - ./scripts/linter.py --copyright src
cppcheck: find:
stage: lint stage: lint
script: script:
- ./scripts/linter.py --cppcheck src - ./scripts/linter.py --find src
allow_failure: true
# Stage documentation # Stage documentation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment