Skip to content
Snippets Groups Projects
Commit 844fadcb authored by dwn1c21's avatar dwn1c21
Browse files

CI add compilation phase

parent 99eb8ae7
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
stages: # List of stages for jobs, and their order of execution
- compile
- simulate
- build
- deploy
......@@ -25,6 +26,20 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
compile-software:
stage: compile
script:
- echo "Compilation phase started"
- git submodule foreach --recursive git submodule init
- git fetch --recurse-submodules
- source set_env.sh
- cd $SOCLABS_NANOSOC_TECH_DIR
- make compile_all_code
artifacts:
paths:
- $SOCLABS_PROJECT_DIR/simulate/sim/*/*.hex
tags:
- ds5
simulate-nanosoc:
stage: simulate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment