about summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_nixpkgs/.circleci/config.yml')
-rw-r--r--third_party/bazel/rules_nixpkgs/.circleci/config.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/bazel/rules_nixpkgs/.circleci/config.yml b/third_party/bazel/rules_nixpkgs/.circleci/config.yml
new file mode 100644
index 000000000000..27ab177030d6
--- /dev/null
+++ b/third_party/bazel/rules_nixpkgs/.circleci/config.yml
@@ -0,0 +1,17 @@
+version: 2
+
+jobs:
+  build:
+    docker:
+      - image: nixos/nix
+    working_directory: ~/rules_nixpkgs
+    steps:
+      - checkout
+      - run:
+          name: System dependencies
+          command: |
+            apk update --no-progress && apk --no-progress add bash ca-certificates
+      - run:
+          name: Run tests
+          command: |
+            nix-shell --pure --run 'bazel test --test_output errors //...'