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

Add new file

parent 55e5d649
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+26 −0
Original line number Diff line number Diff line
stages:
    - build
    - test

compile:
  stage: build
  script:
    - echo "Compiling code"
    - wget "https://agile.bu.edu/gitlab/configs/lab-configs/-/raw/master/main.cpp"
    - g++ *.cpp
    - ./a.out
  tags: [c++-17]

lint:
    stage: build
    image: "cppcheck/cppcheck:latest"
    script:
        - echo "Static code check"
        - cppcheck --enable=all --inconclusive --error-exitcode=1 .
    allow_failure: false

test:
    stage: test
    script:
        - echo "Static code check"
  tags: [c++-17]
 No newline at end of file