mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 12:51:22 +04:00
github: workflow improvements (#3032)
* github: compact build: status reporting step * github: build: matrix strategy * debugging * github: added version_token to /uploadfiles request * github: reworked main build flow * github: suppressed non-zero cp status * github: build: fixed comment lookup; experimental changes to apps build order * github: removed summary step for compact builds; united map analyzer steps * fbt: added get_apiversion target; moved ext apps processing logic to AppBuildset * ufbt: added missing global * fbt: Moved incompatible app list to firmware config output * fbt: cleaner extapps processing * github: build: added automation for SDK publishing
This commit is contained in:
@@ -255,3 +255,18 @@ class SdkCache:
|
||||
self.sync_sets(self.sdk.headers, api.headers, False)
|
||||
self.sync_sets(self.sdk.functions, api.functions)
|
||||
self.sync_sets(self.sdk.variables, api.variables)
|
||||
|
||||
|
||||
class LazySdkVersionLoader:
|
||||
def __init__(self, sdk_path: str):
|
||||
self.sdk_path = sdk_path
|
||||
self._version = None
|
||||
|
||||
@property
|
||||
def version(self) -> SdkVersion:
|
||||
if self._version is None:
|
||||
self._version = SdkCache(self.sdk_path, load_version_only=True).version
|
||||
return self._version
|
||||
|
||||
def __str__(self) -> str:
|
||||
return str(self.version)
|
||||
|
||||
Reference in New Issue
Block a user