diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 64b372da1c3f8fc7e9e12173dd274a3d421db08c..ac18adbbbfc5d5cc7cec04dcb7f9b77839624c04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,8 @@ build-job: # This job runs in the build stage, which runs first. script: - echo "Compiling the code..." - echo "Compile complete." + tags: + - FPGA unit-test-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. @@ -33,6 +35,8 @@ unit-test-job: # This job runs in the test stage. - echo "Running unit tests... This will take about 60 seconds." - sleep 60 - echo "Code coverage is 90%" + tags: + - FPGA lint-test-job: # This job also runs in the test stage. stage: test # It can run at the same time as unit-test-job (in parallel). @@ -40,6 +44,8 @@ lint-test-job: # This job also runs in the test stage. - echo "Linting code... This will take about 10 seconds." - sleep 10 - echo "No lint issues found." + tags: + - FPGA deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. @@ -47,3 +53,5 @@ deploy-job: # This job runs in the deploy stage. script: - echo "Deploying application..." - echo "Application successfully deployed." + tags: + - FPGA