File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 48
48
- target/debug/build
49
49
- target/debug/deps
50
50
key : cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
51
+ build-no-oslib :
52
+ docker :
53
+ - image : circleci/rust:latest
54
+ steps :
55
+ - checkout
56
+ - run :
57
+ name : Install libclang for bindgen
58
+ command : |
59
+ sudo apt-get update
60
+ sudo apt-get install libclang-dev clang
61
+ - run :
62
+ name : Version information
63
+ command : rustc --version; cargo --version; rustup --version
64
+ - run :
65
+ name : Calculate dependencies
66
+ command : cargo generate-lockfile
67
+ - restore_cache :
68
+ keys :
69
+ - cargo-cache-no-oslib-{{ arch }}-{{ checksum "Cargo.lock" }}
70
+ - run :
71
+ name : Build all targets
72
+ command : cargo build --features=lua-no-oslib --all --all-targets
73
+ - run :
74
+ name : Run all tests
75
+ command : cargo test --features=lua-no-oslib --all
76
+ - save_cache :
77
+ paths :
78
+ - /usr/local/cargo/registry
79
+ - target/debug/.fingerprint
80
+ - target/debug/build
81
+ - target/debug/deps
82
+ key : cargo-cache-no-oslib-{{ arch }}-{{ checksum "Cargo.lock" }}
51
83
build-lua53 :
52
84
docker :
53
85
- image : circleci/rust:latest
@@ -186,3 +218,4 @@ workflows:
186
218
- " build-lua53"
187
219
- " build-lua51"
188
220
- " build-windows"
221
+ - " build-no-oslib"
You can’t perform that action at this time.
0 commit comments