AlexeyAB
2017-10-18 6951e769cf41d5884d194b2f96d73296f164aa94
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: 2.0
jobs:
  build:
    docker:
      - image: gcc:latest
    working_directory: ~/work
    steps:
      - checkout
      - run: make
      - run: |
          ulimit -c unlimited
          ./dump
      - run:
          command: |
            mkdir -p /tmp/core_dumps
            cp core.* /tmp/core_dumps
          when: on_fail
      - store_artifacts:
          path: /tmp/core_dumps