From 737846bf17a4baa9a471ee0205825d400b2c8ef2 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 9 Sep 2023 14:11:16 +0200 Subject: 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 Reviewed-by: tazjin Reviewed-by: Brian McGee Tested-by: BuildkiteCI --- tvix/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tvix') diff --git a/tvix/default.nix b/tvix/default.nix index 66d4a79d993a..e36883b4712d 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -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" ]; } -- cgit 1.4.1