diff --git a/ci_cd/lab0.yml b/ci_cd/lab0.yml index 12c4403c51c3cfeca62e5f99aecbddf04290d3aa..3fa47ee97b6d6665a626aed0291554365a75c05c 100644 --- a/ci_cd/lab0.yml +++ b/ci_cd/lab0.yml @@ -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 diff --git a/ci_cd/lab1.yml b/ci_cd/lab1.yml index a380d0a90b446129338656fe569d41a1224269c2..727be8676ae53e58c80f67afab69500d86320c4c 100644 --- a/ci_cd/lab1.yml +++ b/ci_cd/lab1.yml @@ -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