Skip to contentSkip to conversation

gitlab/azure: Enable LLVM tests

PATCH New Tom Rini 1 participant 2 messages Nov 7, 2019

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 gitlab/azure: Enable LLVM tests

Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well.

---
 .azure-pipelines.yml | 5 +++++
 .gitlab-ci.yml       | 8 ++++++++
 2 files changed, 13 insertions(+)
.azure-pipelines.yml +5 -0
index 862cced1cc56..44a76ebb09b5 100644
@@ -149,6 +149,10 @@ jobs:
         sandbox:
           TEST_PY_BD: "sandbox"
           BUILDMAN: "^sandbox$"
+        sandbox_clang:
+          TEST_PY_BD: "sandbox"
+          BUILDMAN: "^sandbox$"
+          OVERRIDE: "-O clang-7"
         sandbox_spl:
           TEST_PY_BD: "sandbox_spl"
           TEST_PY_TEST_SPEC: "test_ofplatdata"
@@ -238,6 +242,7 @@ jobs:
           export TEST_PY_ID="${TEST_PY_ID}"
           export TEST_PY_TEST_SPEC="${TEST_PY_TEST_SPEC}"
           export BUILDMAN="${BUILDMAN}"
+          export OVERRIDE="${OVERRIDE}"
           EOF
           cat << "EOF" >> test.sh
           # the below corresponds to .gitlab-ci.yml "before_script"
.gitlab-ci.yml +8 -0
index 9b295ac710fe..0f5271dcd308 100644
@@ -178,6 +178,14 @@ sandbox test.py:
     BUILDMAN: "^sandbox$"
   <<: *buildman_and_testpy_dfn
 
+sandbox with clang test.py:
+  tags: [ 'all' ]
+  variables:
+    TEST_PY_BD: "sandbox"
+    BUILDMAN: "^sandbox$"
+    OVERRIDE: "-O clang-7"
+  <<: *buildman_and_testpy_dfn
+
 sandbox_spl test.py:
   tags: [ 'all' ]
   variables:
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/1 gitlab/azure: Enable LLVM tests

Quoted 4 lines · Tom Rini

Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191107/b44b9d4a/attachment.sig>