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