File tree Expand file tree Collapse file tree 4 files changed +28
-15
lines changed Expand file tree Collapse file tree 4 files changed +28
-15
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2.1
3
3
executors :
4
4
build-executor :
5
5
docker :
6
- - image : circleci/rust:stretch
6
+ - image : circleci/rust:buster
7
7
resource_class : 2xlarge
8
8
9
9
jobs :
@@ -14,13 +14,22 @@ jobs:
14
14
- run :
15
15
name : Setup
16
16
command : |
17
- sudo sh -c 'echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list'
18
- sudo apt-get update
19
- sudo apt-get -t stretch-backports install cmake python3-dev python3-venv clang llvm libjemalloc-dev
17
+ sudo apt-get update && sudo apt-get upgrade -y
18
+ sudo apt-get install cmake python3-dev python3-venv clang llvm libjemalloc-dev librocksdb-dev
20
19
- run :
21
- name : Build everything
20
+ name : Build libra-dev
22
21
command : |
23
22
./build.sh
23
+ - run :
24
+ name : Install libra-dev
25
+ command : |
26
+ sudo cp libra-dev/target/debug/liblibra_dev.so /usr/lib
27
+ - run :
28
+ name : Test C++ client
29
+ command : |
30
+ cd cpp
31
+ ./build.sh
32
+ ./test.sh
24
33
- run :
25
34
name : Test Rust Client
26
35
command : |
Original file line number Diff line number Diff line change 11
11
cd rust
12
12
cargo build
13
13
cd ..
14
-
15
- # C Stuff
16
- rm -rf build
17
- mkdir build
18
- cd build
19
- cmake ..
20
- make VERBOSE=1
21
- # Test!
22
- ./cpp/cpp-client
23
- cd ..
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -euo pipefail
3
+
4
+ # C Stuff
5
+ rm -rf build
6
+ mkdir build
7
+ cd build || exit
8
+ cmake ..
9
+ make VERBOSE=1
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -euo pipefail
3
+
4
+ # Test!
5
+ ./build/cpp/cpp-client
You can’t perform that action at this time.
0 commit comments