-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmark.yml
More file actions
42 lines (33 loc) · 1007 Bytes
/
Copy pathbenchmark.yml
File metadata and controls
42 lines (33 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
benchmark:
name: "taskwarrior"
description: "Taskwarrior CLI task manager translation from C++ to Rust"
type: cli # server | cli - determines which runtime fields are required
source_language: cpp
target_language: rust
source:
language: cpp
description: "Taskwarrior - C++ command-line task manager"
# Build phase
install_cmd: null
build_cmd: "git submodule update --init && cmake -S . -B build && cmake --build build"
# CLI type - command to run (relative to src/ dir)
run_cmd: "./build/src/task"
# Optional environment variables for build/run
# env:
# KEY: "value"
destination:
language: rust
description: "Taskwarrior - Rust implementation"
# Build phase
install_cmd: null
build_cmd: "cargo build --release"
# CLI type - command to run (relative to dst/ dir)
run_cmd: "./target/release/task"
# Optional environment variables for build/run
# env:
# KEY: "value"
testing:
tool: pytest
test_files:
- "test_task.py"
test_dir: "tests"