summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-04-10 09:37:24 +1200
committerCommit Bot <commit-bot@chromium.org>2021-05-07 22:29:24 +0000
commit6dc91809bfafe69f1036fba8302458bf9923352a (patch)
tree9169608a9287990b1dab6cf6be27d70d1ec70cf6
parentde4cd0ce0cd056e3efd55376594bb16f5760daef (diff)
downloadchrome-ec-6dc91809bfafe69f1036fba8302458bf9923352a.tar.gz
gitlab: Add posix-ec
Add this board so we get coverage on gitlab. BUG=b:178731498 BRANCH=none TEST=try on gitlab https://gitlab.com/zephyr-ec/ec/-/pipelines/299319312 Change-Id: I27dab970650d5e705d0f04f5b0e9096b0ae25cec Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2817962 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--.gitlab-ci.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9baef4b2b4..e7b4496c76 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-image: sjg20/bionic-20200526-12feb21
+image: sjg20/bionic-20200526-7may21a
# You can update that image using this repo:
# https://gitlab.com/zephyr-ec/gitlab-ci-runner/-/tree/main
@@ -48,7 +48,7 @@ before_script:
stage: build
script:
- zmake --zephyr-base "${ZEPHYR_BASE}" --modules-dir "${MODULES_DIR}"
- -l DEBUG configure -b -B "${BUILD_DIR}/${PROJECT}" -t zephyr
+ -l DEBUG configure -b -B "${BUILD_DIR}/${PROJECT}" -t ${TOOLCHAIN:-zephyr}
zephyr/projects/${PROJECT_SUBDIR}${PROJECT}
- ls "${BUILD_DIR}/${PROJECT}" "${BUILD_DIR}/${PROJECT}/output"
artifacts:
@@ -73,6 +73,12 @@ lazor:
PROJECT_SUBDIR: "trogdor/"
<<: *build_template
+native_posix:
+ variables:
+ PROJECT: "posix-ec"
+ TOOLCHAIN: "host"
+ <<: *build_template
+
volteer:
variables:
PROJECT: "volteer"