Commit 608c3138 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

changed "needs:" format to avoid the "same stage" dependency issue

parent 94f62771
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@ compile_lab_0:
    paths:
      - base_0
      - lab0.*
  needs: [prebuild_lab_0]
  needs:
    - prebuild_lab_0
  tags: [c++-17]

lint_lab_0:
@@ -31,7 +32,8 @@ lint_lab_0:
    - echo "Static code check of lab0.cpp"
    - cppcheck --check-config --enable=all --inconclusive --error-exitcode=1 lab0.cpp tests/LabZero.cpp
  allow_failure: false
  needs: [compile_lab_0]
  needs:
    - compile_lab_0
  artifacts:
    paths:
      - base_0
@@ -45,5 +47,6 @@ test_lab_0:
    - cp lab0.o base_0/tests
    - cd base_0/tests
    - make lab0
  needs: [lint_lab_0]
  needs:
    - lint_lab_0
  tags: [c++-17]
 No newline at end of file
+6 −3
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@ compile_lab_1:
    paths:
      - base_1
      - lab1.*
  needs: [prebuild_lab_1]
  needs:
    - prebuild_lab_1
  tags: [c++-17]

lint_lab_1:
@@ -31,7 +32,8 @@ lint_lab_1:
    - echo "Static code check of lab1.cpp"
    - cppcheck --check-config --enable=all --inconclusive --error-exitcode=1 lab1.cpp tests/LabOne.cpp
  allow_failure: false
  needs: [compile_lab_1]
  needs:
    - compile_lab_1
  artifacts:
    paths:
      - base_1
@@ -45,5 +47,6 @@ test_lab_1:
    - cp lab1.o base_1/tests
    - cd base_1/tests
    - make lab1
  needs: [lint_lab_1]
  needs:
    - lint_lab_1
  tags: [c++-17]
 No newline at end of file