From 6dc91809bfafe69f1036fba8302458bf9923352a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 10 Apr 2021 09:37:24 +1200 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2817962 Reviewed-by: Jeremy Bettis --- .gitlab-ci.yml | 10 ++++++++-- 1 file 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" -- cgit v1.2.1