File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Various non-standard tests, requiring e.g. longer run
2
2
name : Nightly
3
3
4
- # This job is run at 04:00 UTC every day or on demand.
5
4
on :
6
- workflow_dispatch :
7
- schedule :
8
- - cron : ' 0 4 * * *'
5
+ push :
6
+ branches-ignore :
7
+ - ' dependabot/**'
8
+ pull_request :
9
9
10
10
permissions :
11
11
contents : read
Original file line number Diff line number Diff line change @@ -183,6 +183,16 @@ def install_umf(self) -> None:
183
183
184
184
install_cmd = f"cmake --build { self .build_dir } --config { self .build_type .title ()} --target install"
185
185
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
+
186
196
try :
187
197
print (f"Running command: { install_cmd } " , flush = True )
188
198
subprocess .run (install_cmd .split ()).check_returncode () # nosec B603
You can’t perform that action at this time.
0 commit comments