Circle 2.0: Use workspace instead of cache (#4291)
This commit is contained in:
parent
907c22aa12
commit
2d3ad7f1ae
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user