Skip to content
Snippets Groups Projects
Verified Commit 0858735b authored by Hueser, Christian's avatar Hueser, Christian
Browse files

Incorporate review suggestions

* Reorder keywords in CI jobs and put extends keyword first.
* Use Python 3.10 as default base image.
* Use full path to executable of exercise app when calling app.
parent eb51a8d9
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ stages:
- run
default:
image: python:3.9
image: python:3.10
.install_dependencies:
before_script:
......@@ -41,11 +41,11 @@ lint:
- cpplint --recursive src/ tests/
build:gcc:
image: gcc:${VERSION}
stage: build
extends:
- .install_dependencies
- .compiler_versions
image: gcc:${VERSION}
stage: build
script:
- cmake -S . -B build_gcc_${VERSION}
- cmake --build build_gcc_${VERSION}
......@@ -54,11 +54,11 @@ build:gcc:
- build_gcc_${VERSION}
test:gcc:
image: gcc:${VERSION}
stage: test
extends:
- .install_dependencies
- .compiler_versions
image: gcc:${VERSION}
stage: test
script:
- cd build_gcc_${VERSION} && ctest
dependencies:
......@@ -68,7 +68,7 @@ run:
image: gcc:11
stage: run
script:
- cd build_gcc_11/bin/ && ./helloWorld
- ./build_gcc_11/bin/helloWorld
dependencies:
- "build:gcc"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment