mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 14:15:36 +02:00
Add actions for building and testing (#8)
* Add a Github action for building and testing On Windows, -- -//third_party/... doesn't seem to work, so add all test directories manually. Also run the tests_*. We run only fastbuild tests here, since the opt tests will be run in the release workflow. Also fix a number of compilation and test issues found along the way.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace cdc_ft {
|
||||
|
||||
Threadpool::Threadpool(size_t num_threads) : shutdown_(false) {
|
||||
Threadpool::Threadpool(size_t num_threads) : shutdown_{false} {
|
||||
workers_.reserve(num_threads);
|
||||
for (size_t n = 0; n < num_threads; ++n) {
|
||||
workers_.emplace_back([this]() { ThreadWorkerMain(); });
|
||||
|
||||
Reference in New Issue
Block a user