feat(tvix/store): add :store-protos-go
This target builds and runs the go tests in that directory, allowing us to spot regressions as the one fixed in cl/9285. Change-Id: Ia16c0622f29db343eae7c0386e715b292703bd4f Reviewed-on: https://cl.tvl.fyi/c/depot/+/9286 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: Brian McGee <brian@bmcgee.ie> Tested-by: BuildkiteCI
This commit is contained in:
parent
1549f020ee
commit
737846bf17
1 changed files with 9 additions and 1 deletions
|
@ -79,6 +79,14 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# Builds and tests the code in store/protos.
|
||||
store-protos-go = pkgs.buildGoModule {
|
||||
name = "store-golang";
|
||||
src = depot.third_party.gitignoreSource ./store/protos;
|
||||
|
||||
vendorHash = "sha256-7xfXBBU3xJz7ifjk7Owm/byTfCQ8oaZtqXzBKhLqo00=";
|
||||
};
|
||||
|
||||
# Build the Rust documentation for publishing on docs.tvix.dev.
|
||||
rust-docs = pkgs.stdenv.mkDerivation {
|
||||
inherit cargoDeps;
|
||||
|
@ -103,5 +111,5 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
meta.ci.targets = [ "shell" "rust-docs" ];
|
||||
meta.ci.targets = [ "store-protos-go" "shell" "rust-docs" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue