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:
Lutz Justen
2022-11-21 23:22:09 +01:00
committed by GitHub
parent bccc025945
commit 0252d51cc0
13 changed files with 151 additions and 28 deletions

View File

@@ -1648,7 +1648,7 @@ absl::Status Run(DataStoreReader* data_store_reader, bool consistency_check) {
ctx->data_store_reader = data_store_reader;
InitializeRootManifest();
#ifndef USE_MOCK_LIBFUSE
RETURN_IF_ERROR(ctx->config_stream_client_->StartListeningToManifestUpdates(
RETURN_IF_ERROR(ctx->config_stream_client->StartListeningToManifestUpdates(
[](const ContentIdProto& id) { return SetManifest(id); }),
"Failed to listen to manifest updates");