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

trying to fix the yml file

parent 86f00a81
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ stages:
### Lab 0
prebuild_0:
  stage: LabZero
  <<: *common_rules
  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
@@ -16,11 +17,11 @@ prebuild_0:
    paths:
      - base
      - lab0.cpp
  <<: *common_rules
  tags: [c++-17]

compile_0:
  stage: LabZero
  <<: *common_rules
  script:
    - echo "Compiling lab0.cpp"
    - g++ -c lab0.cpp
@@ -28,11 +29,11 @@ compile_0:
    paths:
      - base
      - lab0.*
  <<: *common_rules
  tags: [c++-17]

lint_0:
  stage: LabZero
  <<: *common_rules
  script:
    - echo "Static code check of lab0.cpp"
    - cppcheck --check-config --enable=all --inconclusive --error-exitcode=1 lab0.cpp tests/LabZero.cpp
@@ -43,11 +44,11 @@ lint_0:
    paths:
      - base
      - lab0.*
  <<: *common_rules
  tags: [cppcheck]

test_0:
  stage: LabZero
  <<: *common_rules
  script:
    - echo "Testing Lab 0";
    - find . -type f
@@ -58,5 +59,4 @@ test_0:
    - ./a.out
  needs:
    - lint_0
  <<: *common_rules
  tags: [shell]
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@ stages:
### Lab -1
prebuild_m1:
  stage: LabMinusOne
  <<: *common_rules
  script:
    - |
      if [ ! -f 'lab-1.cpp' ]; then
        echo "ERROR - could not find file lab-1.cpp";
        exit 1;
      fi
  <<: *common_rules
  tags: [shell]

compile_m1: