Skip to content

Commit 31cd3c4

Browse files
author
Vincent Rouillé
authored
Merge pull request #194 from Clikengo/pack_versionstamp
Add support for pack with versionstamp
2 parents 77485e3 + 70b92e7 commit 31cd3c4

File tree

11 files changed

+938
-318
lines changed

11 files changed

+938
-318
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104

105105
env:
106106
CARGO_INCREMENTAL: 0
107+
RUST_BACKTRACE: 1
107108

108109
steps:
109110
- name: Checkout repository
@@ -163,6 +164,11 @@ jobs:
163164
name: Code coverage
164165
runs-on: ubuntu-latest
165166

167+
env:
168+
CARGO_INCREMENTAL: "0"
169+
RUST_BACKTRACE: 1
170+
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
171+
166172
steps:
167173
- uses: actions/checkout@v1
168174

@@ -179,19 +185,13 @@ jobs:
179185
with:
180186
command: build
181187
args: -p bindingtester --target x86_64-unknown-linux-gnu
182-
env:
183-
CARGO_INCREMENTAL: "0"
184-
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
185188

186189
- name: Test
187190
uses: actions-rs/cargo@v1
188191
with:
189192
command: test
190-
args: --no-fail-fast --target x86_64-unknown-linux-gnu
191-
env:
192-
CARGO_INCREMENTAL: "0"
193-
RUST_BACKTRACE: 1
194-
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
193+
# doc tests are disabled fow now as they do not compile with -Cpanic=abort
194+
args: --tests --no-fail-fast --target x86_64-unknown-linux-gnu
195195

196196
- name: Run bindingtester
197197
run: scripts/run_bindingtester.sh target/x86_64-unknown-linux-gnu/debug/bindingtester

foundationdb-bindingtester/Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,21 @@ categories = ["database"]
1919

2020
license = "MIT/Apache-2.0"
2121

22+
[features]
23+
default = ["fdb-6_1"]
24+
# Use the locally embedded foundationdb fdb_c.h and fdb.options files
25+
embedded-fdb-include = [ "foundationdb/embedded-fdb-include" ]
26+
fdb-5_1 = [ "foundationdb/fdb-5_1" ]
27+
fdb-5_2 = [ "foundationdb/fdb-5_2" ]
28+
fdb-6_0 = [ "foundationdb/fdb-6_0" ]
29+
fdb-6_1 = [ "foundationdb/fdb-6_1" ]
30+
fdb-6_2 = [ "foundationdb/fdb-6_2" ]
31+
2232
[dependencies]
2333
env_logger = "0.7.1"
24-
foundationdb = { path = "../foundationdb", features = ["uuid"] }
34+
foundationdb = { path = "../foundationdb", features = ["uuid", "num-bigint"], default-features = false }
2535
foundationdb-sys = { version = "0.5.0", path = "../foundationdb-sys", default-features = false }
2636
futures = "0.3.0"
2737
log = "0.4.8"
38+
num-bigint = "0.3.0"
2839
structopt = "0.3.3"

0 commit comments

Comments
 (0)