[object Object]

← back to Exo

circleci job to get pipsize and store as artifact

84ff7cb3811b4c3ec608189cfc2cd7afc14a55ff · 2024-11-24 00:07:09 +0400 · Alex Cheema

Files touched

Diff

commit 84ff7cb3811b4c3ec608189cfc2cd7afc14a55ff
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Sun Nov 24 00:07:09 2024 +0400

    circleci job to get pipsize and store as artifact
---
 .circleci/config.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2554847b..6f775bb5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -247,6 +247,29 @@ jobs:
           prompt: "Keep responses concise. Who was the king of pop?"
           expected_output: "Michael Jackson"
 
+  measure_pip_sizes:
+    macos:
+      xcode: "15.4.0"
+    steps:
+      - checkout
+      - run:
+          name: Set up Python
+          command: |
+            brew install python@3.12
+            python3.12 -m venv env
+            source env/bin/activate
+      - run:
+          name: Install dependencies and measure sizes
+          command: |
+            source env/bin/activate
+            pip install --upgrade pip
+            pip install .
+            python ./extra/pipsize.py --json ./pipsize.json
+      - store_artifacts:
+          path: ./pipsize.json
+          destination: pip-sizes.json
+
+
 workflows:
   version: 2
   build_and_test:
@@ -257,3 +280,4 @@ workflows:
       - chatgpt_api_integration_test_tinygrad
       - chatgpt_api_integration_test_dummy
       - test_macos_m1
+      - measure_pip_sizes

← 2dfd322f thanks dnewman  ·  back to Exo  ·  16.0.0 for all circleci jobs f5fdacd2 →