File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 11# Various non-standard tests, requiring e.g. longer run
22name : Nightly
33
4- # This job is run at 04:00 UTC every day or on demand.
54on :
6- workflow_dispatch :
7- schedule :
8- - cron : ' 0 4 * * *'
5+ push :
6+ branches-ignore :
7+ - ' dependabot/**'
8+ pull_request :
99
1010permissions :
1111 contents : read
Original file line number Diff line number Diff line change @@ -183,6 +183,16 @@ def install_umf(self) -> None:
183183
184184 install_cmd = f"cmake --build { self .build_dir } --config { self .build_type .title ()} --target install"
185185
186+ cmake_cache_file = self .build_dir / "CMakeCache.txt"
187+ if cmake_cache_file .exists ():
188+ with cmake_cache_file .open () as f :
189+ for line in f :
190+ if "CMAKE_GENERATOR:INTERNA" in line :
191+ print (line )
192+ if "CMAKE_GENERATOR:INTERNAL=Ninja" in line :
193+ install_cmd = f"cmake --build { self .build_dir } --config { self .build_type .title ()} --install"
194+ break
195+
186196 try :
187197 print (f"Running command: { install_cmd } " , flush = True )
188198 subprocess .run (install_cmd .split ()).check_returncode () # nosec B603
You can’t perform that action at this time.
0 commit comments