1
0
cuberite-2a/.circleci/config.yml

42 lines
935 B
YAML
Raw Normal View History

2018-08-25 06:25:21 -04:00
version: 2
jobs:
checkout_cuberite:
working_directory: ~/cuberite
docker: &cube_docker
- image: cuberite/docker-build-image:circle-ci
steps:
- checkout
- run: git submodule update --init
- persist_to_workspace:
root: ~/
2018-08-25 06:25:21 -04:00
paths:
- cuberite
2018-08-25 06:25:21 -04:00
check_basic_style:
working_directory: ~/cuberite/src
docker: *cube_docker
steps:
- attach_workspace: { at: ~/ }
2018-08-25 06:25:21 -04:00
- run: find . -name \*.cpp -or -name \*.h > AllFiles.lst
- run: lua CheckBasicStyle.lua
- run: cd Bindings && lua CheckBindingsDependencies.lua
clang-tidy:
working_directory: ~/cuberite
docker: *cube_docker
steps:
- attach_workspace: { at: ~/ }
2018-08-25 06:25:21 -04:00
- run: ./clang-tidy.sh -j 2
workflows:
version: 2
checks:
jobs:
- checkout_cuberite
- check_basic_style:
requires:
- checkout_cuberite
- clang-tidy:
requires:
- checkout_cuberite