diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..df2473f45e8198fef1ceb9311155694dc557e1f7 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +stages: + - build + - test + - deploy + +build-job: + stage: build + script: + - cmake -G Ninja -B build + - cmake --build build + +unit-test-job: + stage: test + script: + - cmake --build build --target test + +lint-test-job: + stage: test + script: + - echo "Linting code... This will take about 10 seconds." + - sleep 10 + - echo "No lint issues found." + +deploy-job: + stage: deploy + environment: production + script: + - echo "Deploying application..." + - echo "Application successfully deployed."