json/.circleci/config.yml
Niels Lohmann 3ae7237f5a
🔨 clean up
2020-05-01 21:01:47 +02:00

33 lines
935 B
YAML

version: 2
jobs:
build:
docker:
- image: debian:stretch
steps:
- checkout
- run:
name: Install sudo
command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*'
- run:
name: Install GCC
command: 'apt-get update && apt-get install -y gcc g++'
- run:
name: Install Git
command: 'apt-get update && apt-get install -y git'
- run:
name: Install CMake
command: 'apt-get update && apt-get install -y cmake'
- run:
name: Versions
command: 'g++ --version ; uname -a; cmake --version'
- run:
name: Run CMake
command: 'mkdir build ; cd build ; cmake ..'
- run:
name: Compile
command: 'cmake --build build'
- run:
name: Execute test suite
command: 'cd build ; ctest --output-on-failure -j 2'