Loading ci_cd/lab0.yml +6 −3 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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 Loading @@ -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 ci_cd/lab1.yml +6 −3 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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 Loading @@ -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 Loading
ci_cd/lab0.yml +6 −3 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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 Loading @@ -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
ci_cd/lab1.yml +6 −3 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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 Loading @@ -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