From acd55cd77a3ae6910cec8da140a8fa3d48a81de0 Mon Sep 17 00:00:00 2001 From: dam1n19 <d.a.mapstone@soton.ac.uk> Date: Tue, 28 Mar 2023 14:51:31 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 64b372d..ac18adb 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 -- GitLab