Edmond Yoo
2018-09-16 7617aca1a839b9e8e7f2f21a27a0fdcaca8fba8c
.circleci/config.yml
@@ -2,21 +2,15 @@
jobs:
  build:
    docker:
      - image: gcc:latest
       - image: alantrrs/cuda-opencv:latest
#      - image: nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
    working_directory: ~/work
    steps:
      - checkout
      - run:
          name: Update OpenCV
          command: 'apt-get install libopencv-dev'
      - run: make LIBSO=1 -j 8
      - run: |
          ulimit -c unlimited
          ./darknet
      - run:
          command: |
            mkdir -p /tmp/core_dumps
            cp core.* /tmp/core_dumps
          when: on_fail
      - store_artifacts:
          path: /tmp/core_dumps
      - run: make LIBSO=1 GPU=0 CUDNN=0 OPENCV=0 -j 8
      - run: make clean
      - run: make LIBSO=1 GPU=0 CUDNN=0 OPENCV=1 -j 8
      - run: make clean
      - run: make LIBSO=1 GPU=1 CUDNN=1 OPENCV=1 -j 8
      - run: make clean
      - run: make LIBSO=1 GPU=1 CUDNN=1 OPENCV=1 CUDNN_HALF=1 -j 8