Circle 2.0: Use workspace instead of cache (#4291)
This commit is contained in:
parent
907c22aa12
commit
2d3ad7f1ae
@ -7,16 +7,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: git submodule update --init
|
- run: git submodule update --init
|
||||||
- save_cache:
|
- persist_to_workspace:
|
||||||
key: "cuberite-{{ .Environment.CIRCLE_SHA1 }}"
|
root: ~/
|
||||||
paths:
|
paths:
|
||||||
- ~/cuberite
|
- cuberite
|
||||||
|
|
||||||
check_basic_style:
|
check_basic_style:
|
||||||
working_directory: ~/cuberite/src
|
working_directory: ~/cuberite/src
|
||||||
docker: *cube_docker
|
docker: *cube_docker
|
||||||
steps:
|
steps:
|
||||||
- restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] }
|
- attach_workspace: { at: ~/ }
|
||||||
- run: find . -name \*.cpp -or -name \*.h > AllFiles.lst
|
- run: find . -name \*.cpp -or -name \*.h > AllFiles.lst
|
||||||
- run: lua CheckBasicStyle.lua
|
- run: lua CheckBasicStyle.lua
|
||||||
- run: cd Bindings && lua CheckBindingsDependencies.lua
|
- run: cd Bindings && lua CheckBindingsDependencies.lua
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
working_directory: ~/cuberite
|
working_directory: ~/cuberite
|
||||||
docker: *cube_docker
|
docker: *cube_docker
|
||||||
steps:
|
steps:
|
||||||
- restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] }
|
- attach_workspace: { at: ~/ }
|
||||||
- run: ./clang-tidy.sh -j 2
|
- run: ./clang-tidy.sh -j 2
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
|
Loading…
Reference in New Issue
Block a user