]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
CI: Add a check for building tools for PyPi
authorSimon Glass <sjg@chromium.org>
Fri, 24 Feb 2023 01:18:24 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:56 +0000 (11:40 -0800)
Add a simple check that the PyPi packages can be built.

Signed-off-by: Simon Glass <sjg@chromium.org>
.azure-pipelines.yml
.gitlab-ci.yml

index 30025ff7517e92c2e255989479a4d6903fd45504..61ada4d681f986376583c271dd8b7c44373dccf1 100644 (file)
@@ -232,6 +232,16 @@ stages:
       # have no matches.
       - script: git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0
 
+  - job: check_packing_of_python_tools
+    displayName: 'Check we can package the Python tools'
+    pool:
+      vmImage: $(ubuntu_vm)
+    container:
+      image: $(ci_runner_image)
+      options: $(container_option)
+    steps:
+      - script: make pip
+
 - stage: test_py
   jobs:
   - job: test_py
index e320a24ef31ec8d880f0cfdea2f3d8bf475ae447..a89138701dcff79cf3f3e898b09a491b99c8a47d 100644 (file)
@@ -251,6 +251,12 @@ Check for pre-schema tags:
     # have no matches.
     - git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0
 
+# Check we can package the Python tools
+Check packing of Python tools:
+  stage: testsuites
+  script:
+    - make pip
+
 # Test sandbox with test.py
 sandbox test.py:
   variables: