mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-08-11 21:01:24 +00:00
The first run of this workflow exposed three problems. Crow's amalgamated header includes <asio.hpp>, which no runner provides, so the build died immediately. It compiled locally only because CPATH happened to point at Homebrew's include directory. Install asio explicitly, and on macOS pass its include path through CROW_CXXFLAGS. The macos runner image has no Go, so bombardier could not be installed. Add actions/setup-go, which also pins a known toolchain on Linux. Worst of all, the ubuntu job reported success. `make ... | tee` returns tee's status, so the failed build was invisible. Enable pipefail. That alone is not enough: every recipe in benchmark/Makefile ends in `kill`, so make still exits 0 when bombardier itself fails to run. Assert that the expected number of "Reqs/sec" lines came out.