From 0ebaf1e7d1f09318ae75d0f475a25280742b790e Mon Sep 17 00:00:00 2001 From: Jani Juvan <jani.juvan@iopsys.eu> Date: Fri, 25 Feb 2022 08:02:26 +0000 Subject: [PATCH] fdtextract: Add build test to ci --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 027630b..01de6ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,11 +2,25 @@ include: - project: 'iopsys/gitlab-ci-pipeline' file: '/static-code-analysis.yml' +default: + image: iopsys/code-analysis:latest + stages: - static_code_analysis + - build variables: DEBUG: 'TRUE' SOURCE_FOLDER: "." RUN_CPPCHECK: "cppcheck --enable=all --error-exitcode=1 --suppress=unusedFunction ." CPPCHECK_OPTIONS: "--suppress=unusedFunction ." + +build: + stage: build +# before_script: +# - apt update && apt -y install make autoconf libfdt-dev + script: + - make + artifacts: + paths: + - fdtextract \ No newline at end of file -- GitLab