File: config.yml

package info (click to toggle)
nlohmann-json3 3.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 14,304 kB
  • sloc: cpp: 77,401; python: 4,673; makefile: 586; sh: 182; ansic: 45
file content (48 lines) | stat: -rw-r--r-- 1,164 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: 2
jobs:
  build_stable:
    docker:
      - image: debian:stretch

    steps:
      - checkout

      - run:
          name: Install required tools
          command: 'apt-get update && apt-get install -y gcc g++ git cmake'
      - run:
          name: Run CMake
          command: 'mkdir build ; cd build ; cmake .. -DJSON_BuildTests=On'
      - run:
          name: Compile
          command: 'cmake --build build'
      - run:
          name: Execute test suite
          command: 'cd build ; ctest --output-on-failure -j 2'

  build_bleeding_edge:
    docker:
      - image: archlinux

    steps:
      - checkout

      - run:
          name: Install required tools
          command: 'pacman -Sy --noconfirm base base-devel gcc git cmake'
      - run:
          name: Run CMake
          command: 'mkdir build ; cd build ; cmake .. -DJSON_BuildTests=On'
      - run:
          name: Compile
          command: 'cmake --build build'
      - run:
          name: Execute test suite
          command: 'cd build ; ctest --output-on-failure -j 2'

workflows:
  version: 2
  build_and_test_all:
    jobs:
      - build_stable
      - build_bleeding_edge