Loading ci_cd/lab0.yml +9 −3 Original line number Diff line number Diff line stages: - LabZero .only_run_if_lab0_available: &common_rules rules: - exists: - lab0.cpp ### Lab 0 prebuild_0: stage: LabZero script: - git clone https://agile.bu.edu/gitlab/configs/ec327/lab-configs/current.git base when: on_success # only runs if the previous stage succeeds rules: - exists: - lab0.cpp artifacts: paths: - base - lab0.cpp <<: *common_rules tags: [c++-17] compile_0: Loading @@ -25,6 +28,7 @@ compile_0: paths: - base - lab0.* <<: *common_rules tags: [c++-17] lint_0: Loading @@ -39,6 +43,7 @@ lint_0: paths: - base - lab0.* <<: *common_rules tags: [cppcheck] test_m1: Loading @@ -52,4 +57,5 @@ test_m1: - ./a.out needs: - lint_0 <<: *common_rules tags: [shell] No newline at end of file Loading
ci_cd/lab0.yml +9 −3 Original line number Diff line number Diff line stages: - LabZero .only_run_if_lab0_available: &common_rules rules: - exists: - lab0.cpp ### Lab 0 prebuild_0: stage: LabZero script: - git clone https://agile.bu.edu/gitlab/configs/ec327/lab-configs/current.git base when: on_success # only runs if the previous stage succeeds rules: - exists: - lab0.cpp artifacts: paths: - base - lab0.cpp <<: *common_rules tags: [c++-17] compile_0: Loading @@ -25,6 +28,7 @@ compile_0: paths: - base - lab0.* <<: *common_rules tags: [c++-17] lint_0: Loading @@ -39,6 +43,7 @@ lint_0: paths: - base - lab0.* <<: *common_rules tags: [cppcheck] test_m1: Loading @@ -52,4 +57,5 @@ test_m1: - ./a.out needs: - lint_0 <<: *common_rules tags: [shell] No newline at end of file