json/.circleci/config.yml

25 lines
615 B
YAML
Raw Normal View History

2019-03-30 17:05:43 +01:00
version: 2
jobs:
build:
docker:
- image: debian:stretch
steps:
- checkout
- run:
2020-05-01 21:06:41 +02:00
name: Install required tools
command: 'apt-get update && apt-get install -y gcc g++ git cmake'
2019-03-30 17:14:50 +01:00
- run:
2020-05-01 21:06:41 +02:00
name: Show versions
2020-05-01 21:01:47 +02:00
command: 'g++ --version ; uname -a; cmake --version'
- run:
name: Run CMake
command: 'mkdir build ; cd build ; cmake ..'
2019-03-30 17:14:50 +01:00
- run:
name: Compile
command: 'cmake --build build'
2019-03-30 17:05:43 +01:00
- run:
2019-03-30 17:14:50 +01:00
name: Execute test suite
2020-05-01 15:22:18 +02:00
command: 'cd build ; ctest --output-on-failure -j 2'