Skip to content

Commit 974122f

Browse files
committed
Only build the benchmarking tool when the bench dune profile is used
1 parent d464704 commit 974122f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434

3535
- run: opam install . --deps-only --with-test
3636

37-
- run: opam exec -- dune build -p notty-community
37+
- run: opam exec -- dune build
3838

39-
- run: opam exec -- dune runtest -p notty-community
39+
- run: opam exec -- dune runtest
4040

4141
lint-doc:
4242
runs-on: ubuntu-latest

benchmarks/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
(executable
22
(name speed)
3+
(enabled_if (= %{profile} "bench"))
34
(libraries notty-community notty-community.unix common unmark unmark.cli))

0 commit comments

Comments
 (0)