2023-08-03 09:55:06 +00:00
|
|
|
[tasks.ci-format]
|
|
|
|
category = "CI - CHECK"
|
|
|
|
dependencies = ["cargo-fmt", "cargo-fmt-unlinked"]
|
|
|
|
|
|
|
|
[tasks.ci-check]
|
|
|
|
category = "CI - CHECK"
|
|
|
|
command = "cargo"
|
|
|
|
args = ["check", "--locked", "--workspace"]
|
|
|
|
|
|
|
|
[tasks.ci-check-wasm]
|
|
|
|
category = "CI - CHECK"
|
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2024-01-09 17:17:48 +00:00
|
|
|
args = ["check", "--locked", "--package", "surrealdb", "--features", "protocol-ws,protocol-http,kv-mem,kv-indxdb,http,jwks", "--target", "wasm32-unknown-unknown"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
[tasks.ci-clippy]
|
|
|
|
category = "CI - CHECK"
|
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2024-01-09 17:17:48 +00:00
|
|
|
args = ["clippy", "--all-targets", "--features", "storage-mem,storage-rocksdb,storage-speedb,storage-tikv,storage-fdb,scripting,http,jwks", "--tests", "--benches", "--examples","--bins", "--", "-D", "warnings"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Integration Tests
|
|
|
|
#
|
|
|
|
|
|
|
|
[tasks.ci-cli-integration]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = { RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable", RUST_LOG={ value = "cli_integration=debug", condition = { env_not_set = ["RUST_LOG"] } } }
|
|
|
|
args = ["test", "--locked", "--no-default-features", "--features", "storage-mem,http,scripting,jwks", "--workspace", "--test", "cli_integration", "--", "cli_integration"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
[tasks.ci-http-integration]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = { RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable", RUST_LOG={ value = "http_integration=debug", condition = { env_not_set = ["RUST_LOG"] } } }
|
|
|
|
args = ["test", "--locked", "--no-default-features", "--features", "storage-mem,http-compression,jwks", "--workspace", "--test", "http_integration", "--", "http_integration"]
|
2023-08-14 15:36:27 +00:00
|
|
|
|
|
|
|
[tasks.ci-ws-integration]
|
2024-01-09 15:27:03 +00:00
|
|
|
category = "WS - INTEGRATION TESTS"
|
2023-08-14 15:36:27 +00:00
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = { RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable", RUST_LOG={ value = "ws_integration=debug", condition = { env_not_set = ["RUST_LOG"] } } }
|
|
|
|
args = ["test", "--locked", "--no-default-features", "--features", "storage-mem,sql2", "--workspace", "--test", "ws_integration", "--", "ws_integration"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-12 13:51:43 +00:00
|
|
|
[tasks.ci-ml-integration]
|
2024-01-09 15:27:03 +00:00
|
|
|
category = "ML - INTEGRATION TESTS"
|
2023-12-12 13:51:43 +00:00
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = { RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable", RUST_LOG={ value = "cli_integration::common=debug", condition = { env_not_set = ["RUST_LOG"] } } }
|
2024-02-02 22:10:47 +00:00
|
|
|
args = ["test", "--locked", "--features", "storage-mem,ml,sql2", "--workspace", "--test", "ml_integration", "--", "ml_integration", "--nocapture"]
|
2023-12-12 13:51:43 +00:00
|
|
|
|
2023-08-03 09:55:06 +00:00
|
|
|
[tasks.ci-workspace-coverage]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2023-08-03 09:55:06 +00:00
|
|
|
args = [
|
2024-01-09 17:17:48 +00:00
|
|
|
"llvm-cov", "--html", "--locked", "--no-default-features", "--features", "storage-mem,scripting,http,jwks", "--workspace", "--",
|
2023-08-03 09:55:06 +00:00
|
|
|
"--skip", "api_integration",
|
|
|
|
"--skip", "cli_integration",
|
|
|
|
"--skip", "http_integration",
|
|
|
|
"--skip", "ws_integration"
|
|
|
|
]
|
|
|
|
|
2024-01-10 16:43:56 +00:00
|
|
|
|
|
|
|
[tasks.test-experimental-parser]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = { RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable", RUSTDOCFLAGS="--cfg surrealdb_unstable" }
|
2024-01-10 16:43:56 +00:00
|
|
|
args = [
|
2024-02-02 22:10:47 +00:00
|
|
|
"test", "--locked", "--no-default-features", "--features", "storage-mem,scripting,http,parser2", "--workspace", "--",
|
2024-01-10 16:43:56 +00:00
|
|
|
"--skip", "api_integration",
|
|
|
|
"--skip", "cli_integration",
|
|
|
|
"--skip", "http_integration",
|
|
|
|
"--skip", "ws_integration"
|
|
|
|
]
|
|
|
|
|
2023-08-03 09:55:06 +00:00
|
|
|
[tasks.test-workspace-coverage-complete]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
|
|
|
args = ["llvm-cov", "--html", "--locked", "--no-default-features", "--features", "sql2,protocol-ws,protocol-http,kv-mem,kv-rocksdb", "--workspace"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
[tasks.ci-workspace-coverage-complete]
|
|
|
|
env = { _START_SURREALDB_PATH = "memory" }
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
run_task = { name = ["start-surrealdb", "test-workspace-coverage-complete", "stop-surrealdb"], fork = true }
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tests private tasks
|
|
|
|
#
|
|
|
|
|
|
|
|
[tasks.test-kvs]
|
|
|
|
private = true
|
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = {RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2023-08-03 09:55:06 +00:00
|
|
|
args = ["test", "--locked", "--package", "surrealdb", "--no-default-features", "--features", "${_TEST_FEATURES}", "--lib", "kvs"]
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.test-api-integration]
|
|
|
|
private = true
|
|
|
|
command = "cargo"
|
2024-02-14 11:12:11 +00:00
|
|
|
env = {RUST_BACKTRACE=1, RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2023-08-03 09:55:06 +00:00
|
|
|
args = ["test", "--locked", "--package", "surrealdb", "--no-default-features", "--features", "${_TEST_FEATURES}", "--test", "api", "api_integration::${_TEST_API_ENGINE}"]
|
|
|
|
|
|
|
|
[tasks.ci-api-integration]
|
2024-02-14 11:12:11 +00:00
|
|
|
env = {RUST_BACKTRACE=1, _START_SURREALDB_PATH = "memory", RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2023-08-03 09:55:06 +00:00
|
|
|
private = true
|
|
|
|
run_task = { name = ["start-surrealdb", "test-api-integration", "stop-surrealdb"], fork = true }
|
|
|
|
|
|
|
|
#
|
|
|
|
# Integration tests with background services
|
|
|
|
#
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-http]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "http", _TEST_FEATURES = "protocol-http" }
|
|
|
|
run_task = "ci-api-integration"
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-ws]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { _TEST_API_ENGINE = "ws", _TEST_FEATURES = "protocol-ws,sql2", RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2023-08-03 09:55:06 +00:00
|
|
|
run_task = "ci-api-integration"
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-any]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "any", _TEST_FEATURES = "protocol-http" }
|
|
|
|
run_task = "ci-api-integration"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Integration tests without background services
|
|
|
|
#
|
|
|
|
[tasks.ci-api-integration-mem]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "mem", _TEST_FEATURES = "kv-mem" }
|
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = true }
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-file]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "file", _TEST_FEATURES = "kv-rocksdb" }
|
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = true }
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-rocksdb]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "rocksdb", _TEST_FEATURES = "kv-rocksdb" }
|
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = true }
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-speedb]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "speedb", _TEST_FEATURES = "kv-speedb" }
|
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = true }
|
|
|
|
|
|
|
|
[tasks.ci-api-integration-fdb]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "fdb", _TEST_FEATURES = "kv-fdb-7_1" }
|
2023-08-11 11:50:48 +00:00
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = false }
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
[tasks.ci-api-integration-tikv-tests]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "tikv", _TEST_FEATURES = "kv-tikv" }
|
2023-08-11 11:50:48 +00:00
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = false }
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
[tasks.ci-api-integration-tikv]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
run_task = { name = ["start-tikv", "ci-api-integration-tikv-tests", "stop-tikv"], fork = true }
|
|
|
|
|
2024-02-15 20:47:10 +00:00
|
|
|
[tasks.ci-api-integration-surrealkv]
|
|
|
|
category = "CI - INTEGRATION TESTS"
|
|
|
|
env = { _TEST_API_ENGINE = "surrealkv", _TEST_FEATURES = "kv-surrealkv", RUSTFLAGS = "--cfg surrealdb_unstable" }
|
|
|
|
run_task = { name = ["test-kvs", "test-api-integration"], fork = true, parallel = false }
|
|
|
|
|
|
|
|
|
2023-08-03 09:55:06 +00:00
|
|
|
#
|
|
|
|
# Services
|
|
|
|
#
|
|
|
|
[tasks.start-surrealdb]
|
|
|
|
category = "CI - SERVICES"
|
|
|
|
dependencies = ["build-surrealdb"]
|
|
|
|
script = """
|
2023-12-04 10:24:44 +00:00
|
|
|
#!/bin/bash -ex
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2024-02-15 14:54:07 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
target/debug/surreal start ${_START_SURREALDB_PATH} --allow-all &>/tmp/surrealdb-${_TEST_API_ENGINE}.log &
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
echo $! > /tmp/surreal-${_TEST_API_ENGINE}.pid
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
set +e
|
|
|
|
echo "Waiting for surreal to be ready..."
|
|
|
|
tries=0
|
|
|
|
while [[ $tries < 5 ]]; do
|
|
|
|
target/debug/surreal is-ready 2>/dev/null && echo "Ready!" && exit 0 || sleep 1
|
|
|
|
tries=$((tries + 1))
|
|
|
|
done
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
echo "ERROR: Surreal is unhealthy!"
|
|
|
|
exit 1
|
2023-08-03 09:55:06 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
[tasks.stop-surrealdb]
|
|
|
|
category = "CI - SERVICES"
|
2023-08-18 07:16:13 +00:00
|
|
|
script = """
|
2023-12-04 10:24:44 +00:00
|
|
|
kill $(cat /tmp/surreal-${_TEST_API_ENGINE}.pid) || true
|
|
|
|
sleep 5
|
|
|
|
kill -9 $(cat /tmp/surreal-${_TEST_API_ENGINE}.pid) || true
|
2023-08-18 07:16:13 +00:00
|
|
|
"""
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
[tasks.start-tikv]
|
|
|
|
category = "CI - SERVICES"
|
2024-02-15 14:54:07 +00:00
|
|
|
env = { SURREAL_LINK="https://github.com/surrealdb/surrealdb/releases/download/v1.2.0/surreal-v1.2.0.linux-amd64.tgz" }
|
2023-08-03 09:55:06 +00:00
|
|
|
script = """
|
2023-12-04 10:24:44 +00:00
|
|
|
#!/bin/bash -ex
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2024-02-15 14:54:07 +00:00
|
|
|
if [ ! -f "/tmp/test_surreal" ]; then
|
|
|
|
echo "Downloading surrealdb for startup test"
|
|
|
|
curl -L $SURREAL_LINK | tar -xzO > /tmp/test_surreal
|
|
|
|
chmod +x /tmp/test_surreal
|
|
|
|
fi
|
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
${HOME}/.tiup/bin/tiup install pd tikv playground
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
playground_attempts=0
|
2024-02-15 14:54:07 +00:00
|
|
|
while [[ $playground_attempts -lt 5 ]]; do
|
|
|
|
nohup ${HOME}/.tiup/bin/tiup playground --mode tikv-slim --kv 1 --pd 1 --db 0 --ticdc 0 --tiflash 0 --without-monitor > /tmp/tiup.log &
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
echo $! > /tmp/tiup.pid
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
set +e
|
|
|
|
echo "Waiting for tiup playground to be ready..."
|
|
|
|
tries=0
|
2024-02-15 14:54:07 +00:00
|
|
|
while [[ $tries -lt 10 ]]; do
|
|
|
|
if ! ${HOME}/.tiup/bin/tiup playground display >/dev/null; then
|
|
|
|
tries=$((tries + 1));
|
|
|
|
sleep 5;
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
if echo "create __tikv_test_thing" | /tmp/test_surreal sql --hide-welcome --endpoint tikv://127.0.0.1:2379 > /dev/null; then
|
|
|
|
echo "TIKV started correctly";
|
|
|
|
exit 0;
|
|
|
|
fi
|
|
|
|
sleep 5;
|
2023-12-04 10:24:44 +00:00
|
|
|
tries=$((tries + 1))
|
|
|
|
done
|
|
|
|
set -e
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
echo "ERROR: TiUP Playground is unhealthy! Try again..."
|
2024-02-15 14:54:07 +00:00
|
|
|
${HOME}/.tiup/bin/tiup clean --all
|
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
|
|
|
|
playground_attempts=$((playground_attempts + 1))
|
|
|
|
done
|
|
|
|
|
|
|
|
echo "PANIC: Couldn't start tiup playground! Here are the logs for the last attempt:"
|
|
|
|
cat /tmp/tiup.log
|
2023-12-19 08:56:24 +00:00
|
|
|
|
2023-12-04 10:24:44 +00:00
|
|
|
exit 1
|
2023-08-03 09:55:06 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
[tasks.stop-tikv]
|
|
|
|
category = "CI - SERVICES"
|
2024-02-15 14:54:07 +00:00
|
|
|
script = """
|
|
|
|
${HOME}/.tiup/bin/tiup clean --all
|
|
|
|
"""
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Builds
|
|
|
|
#
|
|
|
|
|
|
|
|
[tasks.build-surrealdb]
|
|
|
|
category = "CI - BUILD"
|
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
|
|
|
args = ["build", "--locked", "--no-default-features", "--features", "storage-mem,sql2"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
|
|
|
#
|
2023-11-18 13:55:01 +00:00
|
|
|
# Benchmarks - Common
|
2023-08-03 09:55:06 +00:00
|
|
|
#
|
2023-11-18 13:55:01 +00:00
|
|
|
[tasks.ci-bench]
|
2023-08-03 09:55:06 +00:00
|
|
|
category = "CI - BENCHMARK"
|
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2024-01-09 17:17:48 +00:00
|
|
|
args = ["bench", "--quiet", "--package", "surrealdb", "--no-default-features", "--features", "kv-mem,scripting,http,jwks", "${@}"]
|
2023-08-03 09:55:06 +00:00
|
|
|
|
2023-11-18 13:55:01 +00:00
|
|
|
#
|
|
|
|
# Benchmarks - SDB - Per Target
|
|
|
|
#
|
|
|
|
[env]
|
|
|
|
BENCH_WORKER_THREADS = { value = "1", condition = { env_not_set = ["BENCH_WORKER_THREADS"] } }
|
|
|
|
BENCH_NUM_OPS = { value = "1000", condition = { env_not_set = ["BENCH_NUM_OPS"] } }
|
|
|
|
BENCH_DURATION = { value = "30", condition = { env_not_set = ["BENCH_DURATION"] } }
|
|
|
|
BENCH_SAMPLE_SIZE = { value = "10", condition = { env_not_set = ["BENCH_SAMPLE_SIZE"] } }
|
2024-02-15 20:47:10 +00:00
|
|
|
BENCH_FEATURES = { value = "protocol-ws,kv-mem,kv-rocksdb,kv-fdb-7_1,kv-surrealkv", condition = { env_not_set = ["BENCH_FEATURES"] } }
|
2024-02-02 22:10:47 +00:00
|
|
|
RUSTFLAGS = "--cfg surrealdb_unstable"
|
2023-11-18 13:55:01 +00:00
|
|
|
|
|
|
|
[tasks.bench-target]
|
|
|
|
private = true
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
2023-08-03 09:55:06 +00:00
|
|
|
command = "cargo"
|
2024-02-02 22:10:47 +00:00
|
|
|
env = { RUSTFLAGS = "--cfg surrealdb_unstable" }
|
2023-11-18 13:55:01 +00:00
|
|
|
args = ["bench", "--package", "surrealdb", "--bench", "sdb", "--no-default-features", "--features", "${BENCH_FEATURES}", "${@}"]
|
|
|
|
|
|
|
|
[tasks.bench-lib-mem]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "lib-mem" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
|
|
|
|
|
|
|
[tasks.bench-lib-rocksdb]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "lib-rocksdb" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
|
|
|
|
|
|
|
[tasks.bench-lib-fdb]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "lib-fdb" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
|
|
|
|
|
|
|
[tasks.bench-sdk-mem]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "sdk-mem" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
|
|
|
|
|
|
|
[tasks.bench-sdk-rocksdb]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "sdk-rocksdb" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
|
|
|
|
|
|
|
[tasks.bench-sdk-fdb]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "sdk-fdb" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
|
|
|
|
|
|
|
[tasks.bench-sdk-ws]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "sdk-ws" }
|
|
|
|
run_task = { name = ["bench-target"] }
|
2024-02-15 20:47:10 +00:00
|
|
|
|
|
|
|
[tasks.bench-lib-surrealkv]
|
|
|
|
category = "CI - BENCHMARK - SurrealDB Target"
|
|
|
|
env = { BENCH_DATASTORE_TARGET = "lib-surrealkv" }
|
|
|
|
run_task = { name = ["bench-target"] }
|