From: Simon Glass Date: Fri, 24 Feb 2023 01:18:24 +0000 (-0700) Subject: CI: Add a check for building tools for PyPi X-Git-Url: http://git.dujemihanovic.xyz/projects?a=commitdiff_plain;h=c21a5286af8571c4c729914edd2b2e4c478ad696;p=u-boot.git CI: Add a check for building tools for PyPi Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass --- diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 30025ff751..61ada4d681 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e320a24ef3..a89138701d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: