33 lines
802 B
YAML
33 lines
802 B
YAML
|
version: 2
|
||
|
jobs:
|
||
|
build:
|
||
|
docker:
|
||
|
- image: "rikorose/gcc-cmake:latest"
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
- development
|
||
|
steps:
|
||
|
- checkout:
|
||
|
- run:
|
||
|
name: Listing0
|
||
|
command: 'ls -lrt'
|
||
|
- run:
|
||
|
name: Creating Build Files
|
||
|
command: 'cmake -Bbuild test/'
|
||
|
- run:
|
||
|
name: Creating Binary Files
|
||
|
command: 'cmake --build build'
|
||
|
- run:
|
||
|
name: Listing1
|
||
|
command: 'ls -lrt /root/project/build'
|
||
|
- run:
|
||
|
name: Listing2
|
||
|
command: 'ls -lrt /root/project/build/CMakeFiles'
|
||
|
- run:
|
||
|
name: Listing3
|
||
|
command: 'cat /root/project/build/CMakeFiles/CMakeOutput.log'
|
||
|
- run:
|
||
|
name: ETL Unit Testing
|
||
|
command: './build/etl_tests'
|