Commit 94f62771 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

reorganization of ci/cd stages

parent eb06a0b0
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -17,7 +17,8 @@ compile_lab_m1:
  script:
    - echo "Compiling lab-1.cpp"
    - g++ -c lab-1.cpp
  needs: [prebuild_lab_m1]
  needs:
    - prebuild_lab_m1
  tags: [c++-17]

lint_lab_m1:
@@ -26,7 +27,8 @@ lint_lab_m1:
      - echo "Static code check of lab-1.cpp"
      - cppcheck --enable=all --inconclusive --error-exitcode=1 lab-1.cpp
  allow_failure: false
  needs: [compile_lab_m1]
  needs:
    - compile_lab_m1
  tags: [cppcheck]

# don't run the test in the master branch
@@ -41,5 +43,6 @@ test_lab_m1:
        echo "Could not find your WikiName $GITLAB_USER_LOGIN in file lab-1.cpp";
        exit 1;
      fi
  needs: [lint_lab_m1]
  needs:
    - lint_lab_m1
  tags: [shell]
 No newline at end of file