mirror of
https://github.com/google/cdc-file-transfer.git
synced 2026-09-13 01:10:44 +03: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:
@@ -79,9 +79,9 @@ TEST_F(SemaphoreTest, DoesNotBlockIfInitialCountIsOne) {
|
||||
|
||||
TEST_F(SemaphoreTest, SignalManyThreads) {
|
||||
Semaphore semaphore(0);
|
||||
std::atomic_int a(0);
|
||||
std::atomic_int b(0);
|
||||
std::atomic_int c(0);
|
||||
std::atomic_int a{0};
|
||||
std::atomic_int b{0};
|
||||
std::atomic_int c{0};
|
||||
|
||||
const int N = 16;
|
||||
std::vector<std::thread> threads;
|
||||
|
||||
Reference in New Issue
Block a user