[PATCH v2 24/24] CI: Add a check for building tools for PyPi
Simon Glass
sjg at chromium.org
Fri Feb 24 02:18:24 CET 2023
Add a simple check that the PyPi packages can be built.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Update the cover letter
.azure-pipelines.yml | 10 ++++++++++
.gitlab-ci.yml | 6 ++++++
2 files changed, 16 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 8327edf87aa..6cd93f7f4d2 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -225,6 +225,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
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3ceca2974d..bc64e221efd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -244,6 +244,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:
--
2.39.2.637.g21b0678d19-goog
More information about the U-Boot
mailing list