1
0

Circle 2.0: Use workspace instead of cache (#4291)

This commit is contained in:
peterbell10 2018-08-25 12:40:10 +01:00 committed by Alexander Harkness
parent 907c22aa12
commit 2d3ad7f1ae

View File

@ -7,16 +7,16 @@ jobs:
steps:
- checkout
- run: git submodule update --init
- save_cache:
key: "cuberite-{{ .Environment.CIRCLE_SHA1 }}"
- persist_to_workspace:
root: ~/
paths:
- ~/cuberite
- cuberite
check_basic_style:
working_directory: ~/cuberite/src
docker: *cube_docker
steps:
- restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] }
- attach_workspace: { at: ~/ }
- run: find . -name \*.cpp -or -name \*.h > AllFiles.lst
- run: lua CheckBasicStyle.lua
- run: cd Bindings && lua CheckBindingsDependencies.lua
@ -25,7 +25,7 @@ jobs:
working_directory: ~/cuberite
docker: *cube_docker
steps:
- restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] }
- attach_workspace: { at: ~/ }
- run: ./clang-tidy.sh -j 2
workflows: