Command Line mcuxpresso ide doesnt work when used in ci

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Command Line mcuxpresso ide doesnt work when used in ci

1,608件の閲覧回数
manasvb
Contributor III

Hi

Following is the command line I use to run build my project

``

      SET IDE_PATH=C:\nxp\MCUXpressoIDE_11.7.1_9221
      SET IDE=%IDE_PATH%\ide\mcuxpressoidec.exe
      mkdir workspace
      "%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data workspace -import project
      "%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data workspace -cleanBuild my_project/Release
``
 
This works fine, I have also placed sdk.zip in sdk_packages folder.
The problem is when I use the same machine which I used to run these commands, as a CI agent/runnner(am using gitlab-ci/cd) at that time it throws me an error that it cannot find linker file and a ton of java errors. (These same errors were observed when I ran these commands on cmd_line locally and had forgot to place sdk.zip in its respective folder). But now that I have placed in the folder and it works locally, why does it fail when I use the same machine as CI agent/runner
 
ラベル(1)
0 件の賞賛
返信
1 返信

1,559件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @manasvb 

Sorry I haven't test on CI, there is <MCUXpresso_IDE_Command_Line_User_Guide.pdf>, you can refer to, I attach it for you.

 

BR

Alice

0 件の賞賛
返信