Skip to content

CI: run the archery-compare (nee demo.sh) on CI - #95

Closed
ev-br wants to merge 2 commits into
benchx-dev:mainfrom
ev-br:ci-demo-sh
Closed

ev-br wants to merge 2 commits into
benchx-dev:mainfrom
ev-br:ci-demo-sh

Conversation

@ev-br

@ev-br ev-br commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

The demo.sh script was meant to demonstrate a benchx workflow using the gperf harness. Make it runnable, add it to CI so that it stays runnable, and rename to archery-compare to follow the existing archery-local example.

The plan for all examples is to collect them together in the benchx_examples repository, so this PR is a preparation to make sure it is actually runnable.

One question is whether calling archery-local and archery-compare example is correct. Neither example uses archery itself. Am happy to immediately rename either or both to any name @rok and @raulcd find suitable.

ev-br's Claude Code Agent and others added 2 commits November 1, 2026 16:36
prototype/demo.sh was committed with mode 100644, so the `./demo.sh`
that the README shows failed with "Permission denied". It is now
executable.

It moves to examples/archery-compare/run.sh, next to the other
examples' run.sh. The directory takes over the old examples/demo, the
demo's project root with its benchx.conf.json and its git-ignored
store, so the script finds its project file and the sibling
examples/demo-suite relative to itself and can be started from any
directory.

The README, the archery-local README and prototype-design.md name the
new paths. The project name `demo` in the store is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add a step after the archery-local example, with the same toolchain
needs (cmake, a C++ compiler, network for Google Benchmark), so it is
skipped on Windows. ROUNDS=2 keeps the job to about a minute and a
half; it lowers the number of samples, not what the script exercises.

The script is run directly, as the README shows it, so a lost
executable bit fails here too.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ev-br ev-br changed the title CI: run the archery-compare (nee demo.sh on CI) CI: run the archery-compare (nee demo.sh) on CI Nov 1, 2026
@ev-br

ev-br commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator Author

The CI run is ~6-9 minutes depending on the architecture, and mixes up unit tests and end-to-end tests/examples. I'll look into splitting the former from latter and consolidating e2e examples together with those from benchx_examples). I'll flip the PR to draft meanwhile. Suggestions about naming are most welcome either way.

@ev-br
ev-br marked this pull request as draft November 1, 2026 20:39
@ev-br

ev-br commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

superseded by #98

@ev-br ev-br closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant