Loading ci_cd/problem1b.yml +17 −4 Original line number Diff line number Diff line Loading @@ -12,18 +12,31 @@ prebuild_problem_1b: paths: - hw0/ rules: - when: always - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [c++-17] test_problem_1b: compile_problem_1b: stage: problem1b dependencies: - prebuild_problem_1b script: - cp IntegerP.cpp hw0/tests - ls -aR - cp IntegerP.cpp hw0/tests/ - cd hw0/tests - make problem1b artifacts: paths: - hw0/ rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [c++-17] exec_problem_1b: stage: problem1b dependencies: - compile_problem_1b script: - ./problem1b rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' Loading ci_cd/problem1c.yml +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ prebuild_problem_1c: paths: - hw0/ rules: - when: always - if: '$CI_COMMIT_REF_NAME == "problem1c"' tags: [c++-17] Loading Loading
ci_cd/problem1b.yml +17 −4 Original line number Diff line number Diff line Loading @@ -12,18 +12,31 @@ prebuild_problem_1b: paths: - hw0/ rules: - when: always - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [c++-17] test_problem_1b: compile_problem_1b: stage: problem1b dependencies: - prebuild_problem_1b script: - cp IntegerP.cpp hw0/tests - ls -aR - cp IntegerP.cpp hw0/tests/ - cd hw0/tests - make problem1b artifacts: paths: - hw0/ rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [c++-17] exec_problem_1b: stage: problem1b dependencies: - compile_problem_1b script: - ./problem1b rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' Loading
ci_cd/problem1c.yml +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ prebuild_problem_1c: paths: - hw0/ rules: - when: always - if: '$CI_COMMIT_REF_NAME == "problem1c"' tags: [c++-17] Loading