template / commit
Remove most stages.
.gitlab-ci.yml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12ec1e0..7ecc5db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,7 @@ - windows-1809 stages: # List of stages for jobs, and their order of execution - - build - - test + - build-and-test - release before_script: @@ -23,26 +22,12 @@ before_script: - choco install make - make --version -build-job: # This job runs in the build stage, which runs first. +build-job: extends: - .shared_windows_runners - stage: build + stage: build-and-test script: - - make build - -unit-test-job: # This job runs in the test stage. - extends: - - .shared_windows_runners - stage: test # It only starts when the job in the build stage completes successfully. - script: - - make test - -lint-test-job: # This job also runs in the test stage. - extends: - - .shared_windows_runners - stage: test # It can run at the same time as unit-test-job (in parallel). - script: - - make lint + - make all release: extends: