Commit 7f346a2b authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

working on same-stage dependencies

parent e5d8bdd8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
stages:
  - labm1
  - lab0_prebuild
  - lab0_compile
  - lab0
  - lab1_prebuild
  - lab1_compile
  - lab1

#stages:
+2 −2
Original line number Diff line number Diff line
### Lab 0
prebuild_lab_0:
  stage: lab0_prebuild
  stage: lab0
  script:
    - git clone https://agile.bu.edu/gitlab/configs/ec327/lab-configs/current.git base_0
  when: on_success # only runs if the previous stage succeeds
@@ -14,7 +14,7 @@ prebuild_lab_0:
  tags: [c++-17]

compile_lab_0:
  stage: lab0_compile
  stage: lab0
  script:
    - echo "Compiling lab0.cpp"
    - g++ -c lab0.cpp
+2 −2
Original line number Diff line number Diff line
### Lab 1
prebuild_lab_1:
  stage: lab1_prebuild
  stage: lab1
  script:
    - git clone https://agile.bu.edu/gitlab/configs/ec327/lab-configs/current.git base_1
  when: on_success # only runs if the previous stage succeeds
@@ -14,7 +14,7 @@ prebuild_lab_1:
  tags: [c++-17]

compile_lab_1:
  stage: lab1_compile
  stage: lab1
  script:
    - echo "Compiling lab1.cpp"
    - g++ -c lab1.cpp