mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-02-07 05:55:42 +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:
@@ -230,7 +230,7 @@ TEST_F(ProcessTest, RunUntil) {
|
||||
ProcessStartInfo start_info;
|
||||
start_info.command = "findstr stop";
|
||||
start_info.redirect_stdin = true;
|
||||
std::atomic_bool stop(false);
|
||||
std::atomic_bool stop{false};
|
||||
start_info.stdout_handler = [&std_out, &stop](const char* data, size_t) {
|
||||
// Check whether someone sent the "stop" command.
|
||||
// Note: This runs in a background thread.
|
||||
|
||||
Reference in New Issue
Block a user