File tree Expand file tree Collapse file tree 11 files changed +27
-15
lines changed
Expand file tree Collapse file tree 11 files changed +27
-15
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ jobs:
314314
315315 - name : Attach installer to release
316316 if : ${{ github.event_name == 'release' }}
317- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
317+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
318318 with :
319319 repo_token : ${{ secrets.GITHUB_TOKEN }}
320320 file : tools/buildmgr/cbuildgen/installer/cbuild_install.sh
@@ -324,7 +324,7 @@ jobs:
324324
325325 - name : Attach debian installer to release
326326 if : ${{ github.event_name == 'release' }}
327- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
327+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
328328 with :
329329 repo_token : ${{ secrets.GITHUB_TOKEN }}
330330 file : tools/buildmgr/cbuildgen/installer/cmsis-build*.deb
Original file line number Diff line number Diff line change 3939 submodules : true
4040
4141 - name : Initialize CodeQL
42- uses : github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v3.29.5
42+ uses : github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v3.29.5
4343 with :
4444 languages : cpp
4545 queries : security-and-quality
5555 working-directory : ./build
5656
5757 - name : Perform CodeQL Analysis
58- uses : github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v3.29.5
58+ uses : github/codeql-action/analyze@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v3.29.5
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ jobs:
133133
134134 - name : Attach zipped binary to the release
135135 if : ${{ github.event_name == 'release' }}
136- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
136+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
137137 with :
138138 repo_token : ${{ secrets.GITHUB_TOKEN }}
139139 tag : ${{ github.ref }}
@@ -350,7 +350,7 @@ jobs:
350350 working-directory : tools/packchk/distribution
351351
352352 - name : Attach zip archive to release assets
353- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
353+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
354354 with :
355355 repo_token : ${{ secrets.GITHUB_TOKEN }}
356356 file : tools/packchk/distribution/code-coverage.zip
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ jobs:
168168 working-directory : tools/packgen/distribution
169169
170170 - name : Attach zip archive to release assets
171- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
171+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
172172 with :
173173 repo_token : ${{ secrets.GITHUB_TOKEN }}
174174 file : tools/packgen/distribution/packgen.zip
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ jobs:
299299 working-directory : tools/projmgr/distribution
300300
301301 - name : Attach zip archive to release assets
302- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
302+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
303303 with :
304304 repo_token : ${{ secrets.GITHUB_TOKEN }}
305305 file : tools/projmgr/distribution/projmgr.zip
@@ -331,7 +331,7 @@ jobs:
331331 working-directory : tools/testreport
332332
333333 - name : Attach test report archive to release assets
334- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
334+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
335335 with :
336336 repo_token : ${{ secrets.GITHUB_TOKEN }}
337337 file : tools/testreport/testreport.zip
@@ -350,7 +350,7 @@ jobs:
350350 working-directory : tools/coverage
351351
352352 - name : Attach coverage archive to release assets
353- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
353+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
354354 with :
355355 repo_token : ${{ secrets.GITHUB_TOKEN }}
356356 file : tools/coverage/coverage.zip
Original file line number Diff line number Diff line change 7171
7272 # Upload the results to GitHub's code scanning dashboard.
7373 - name : " Upload to code-scanning"
74- uses : github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v3.29.5
74+ uses : github/codeql-action/upload-sarif@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v3.29.5
7575 with :
7676 sarif_file : results.sarif
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ jobs:
123123
124124 - name : Attach svdconv binary to release
125125 if : ${{ github.event_name == 'release' }}
126- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
126+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
127127 with :
128128 repo_token : ${{ secrets.GITHUB_TOKEN }}
129129 tag : ${{ github.ref }}
@@ -348,7 +348,7 @@ jobs:
348348 working-directory : tools/svdconv/distribution
349349
350350 - name : Attach zip archive to release assets
351- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
351+ uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2
352352 with :
353353 repo_token : ${{ secrets.GITHUB_TOKEN }}
354354 file : tools/svdconv/distribution/svdconv.zip
Original file line number Diff line number Diff line change @@ -1113,7 +1113,7 @@ class ProjMgrWorker {
11131113 }
11141114 m_contexts.clear ();
11151115 m_ymlOrderedContexts.clear ();
1116- m_contexts .clear ();
1116+ m_processedContexts .clear ();
11171117 m_contextErrMap.clear ();
11181118 m_selectedContexts.clear ();
11191119 m_outputDir.clear ();
Original file line number Diff line number Diff line change @@ -1291,6 +1291,7 @@ void ProjMgr::Clear() {
12911291void ProjMgr::InitSolution (const std::string& csolution, const std::string& activeTargetSet, const bool & updateRte) {
12921292 Clear ();
12931293 m_csolutionFile = csolution;
1294+ m_worker.SetCsolutionFile (m_csolutionFile);
12941295 m_rootDir = RteUtils::ExtractFilePath (m_csolutionFile, false );
12951296 m_updateRteFiles = updateRte;
12961297 if (activeTargetSet.empty ()) {
Original file line number Diff line number Diff line change @@ -455,6 +455,7 @@ bool ProjMgrWorker::InitializeModel() {
455455 if (m_kernel) {
456456 // kernel is already initialized, clear pdsc map
457457 m_kernel->GetPackRegistry ()->ClearPdscMap ();
458+ m_model->SetRootFileName (m_csolutionFile);
458459 return true ;
459460 }
460461 m_packRoot = GetPackRoot ();
@@ -559,7 +560,7 @@ bool ProjMgrWorker::LoadPacks(ContextItem& context) {
559560 PrintContextErrors (context.name );
560561 return false ;
561562 }
562- if (m_loadedPacks.empty () && !LoadAllRelevantPacks ()) {
563+ if (( m_loadedPacks.empty () || m_rpcMode ) && !LoadAllRelevantPacks ()) {
563564 return false ;
564565 }
565566 // Filter context specific packs
@@ -2254,6 +2255,9 @@ bool ProjMgrWorker::ProcessConfigFiles(ContextItem& context) {
22542255
22552256bool ProjMgrWorker::CheckConfigPLMFiles (ContextItem& context) {
22562257 bool error = false ;
2258+ if (!context.rteActiveProject ) {
2259+ return error;
2260+ }
22572261 for (const auto & fi : context.rteActiveProject ->GetFileInstances ()) {
22582262 // get absolute path to file instance
22592263 const string file = fs::path (context.cproject ->directory ).append (fi.second ->GetInstanceName ()).generic_string ();
You can’t perform that action at this time.
0 commit comments