Building NRF9160 sample automatically using NCS v1.7.0 through Gitlab CI using west commands

Hi Dev team,

I have been working with code development using Thingy91 and NRF Connect for Desktop. I use GitLab to maintain and manage my codebase. 

I wanted to use GitLab CI to automate my test process, and to integrate the build process of the code by using the west commands (eg: west build -b thingy91_nrf9160_ns).

I get my basic GitLab pipeline running through my GitLab runner and the .gitlab-ci.yml file but when I add the west commands into the file for the build, the pipeline fails as it does not recognize the west commands.

I normally build my code through west commands in the command prompt, so I was hoping that the commands also work with the GitLab CI directly as its in the same local machine.

I wanted to know if there are any tutorials or links regarding this integration. If so, could you guide me as to how its done.

Regards,

Adeel.

Parents Reply Children
No Data
Related