Commit Graph

138 Commits

Author SHA1 Message Date
Willy-JL
6c12582f2d Really GitHub? Now? --nobuild 2025-01-23 20:48:51 +00:00
WillyJL
5eb5d75046 FBT/SDK: New app flag UnloadAssetPacks to free RAM (#260)
* Store app flags in FAP header

* Add app flag to UnloadAssetPacks to free RAM

* Unload asset packs in NFC and MFKey

* Clearer size units

* Update changelog

* Future proof logic

* Sync apps
2024-11-07 06:36:59 +01:00
WillyJL
3ef283824d FBT: Optimize icons blob -4KB DFU, scrub unused icons (#291)
* Unused icons to check later

* Exclude disabled icons from firmware

* Format

* Also report free flash in gh comment

* Fix free flash calc

* Fix?

* Fix??

* Split to next line

* Remove dead icons

* Some spring cleaning of icons cooker

* Improve unused icons script

* Disable icons that cant be used in asset packs

* These will need a workaround for external

* Revert "These will need a workaround for external"

This reverts commit fb23d97952.

* Here's the workaround: split assets lib

now there is "assets" and "fwassets"

firmware links with fwassets and includes all icons
however not all of them are exposed to api

if an app needs a firmware icon not in api, it can use fap_libs=["assets"]
this will link against this dummy assets lib
it only contains the icons that arent exposed to api

this way, an app using assets lib will still benefit from asset packs
but at same time, we can remove pointless icons from dfu blob

* Update changelog
2024-11-05 08:32:24 +01:00
WillyJL
2e7eedf291 CLI: More commands as plugins on SD -6KB DFU, refactor plugin wrapper, (#276)
* Unused icons to check later

* Exclude disabled icons from firmware

* Format

* CLI: Test moving more cmds to plugins

* CLI: Macro template for plugin wrapper

* Fix plugin filenames

* Retrofit older cli wrappers

* Fix unused

* Fix manifests

* Add explanation

* Revert "Unused icons to check later"

This reverts commit b7f98e344c.

* Revert "Exclude disabled icons from firmware"

This reverts commit ab62e99898.

* Add back toplevel chat command

* Add DFU size to github comment

* Fix build

* Fix BT CLI preload fail

* Add these back

* Fix CLI command gpio preload fail

* Fix input command

* These can stay

* Fix negative size rounding

* Update changelog

* Fix DFU size calc
2024-11-04 09:42:25 +01:00
Willy-JL
c3e9ddd886 Fix for new builds update URL 2024-11-02 22:18:06 +00:00
Willy-JL
ebf7fd0840 Workflows: Upload more build artifacts 2024-10-16 20:45:15 +01:00
Willy-JL
ef84f22adf Run API check even on PRs --nobuild 2024-10-08 03:13:55 +01:00
Willy-JL
e61e23a627 Very cool --nobuild 2024-07-16 02:31:37 +01:00
Willy-JL
1a40e073ac PR artifacts pt5 --nobuild 2024-07-16 02:14:40 +01:00
Willy-JL
2f33fc6cb3 4th time's the charm 2024-07-16 02:00:23 +01:00
Willy-JL
76c984a960 Github syntax is lovely --nobuild 2024-07-16 01:36:04 +01:00
Willy-JL
cc23d2fe12 Fix PR builds --nobuild 2024-07-16 01:15:00 +01:00
Willy-JL
b4b92a726c Comment on PRs with firmware artifacts 2024-07-16 00:37:47 +01:00
Willy-JL
906a1e7a5f Check API against OFW rc 2024-06-14 01:29:48 +02:00
Willy-JL
f17b19ed7d Fix API versions --nobuild 2024-06-02 03:23:31 +01:00
Willy-JL
6a30a379dc Fix check 2024-06-02 03:18:31 +01:00
Willy-JL
9f09a92abb Check API version for App Hub on build 2024-06-02 03:16:41 +01:00
Willy-JL
3f006a58f4 More info in devbuild webhook 2024-05-18 06:57:32 +01:00
Willy-JL
d1194168d6 Upload build for tags too --nobuild 2024-05-12 05:27:35 +01:00
Willy-JL
571a607a8c Update workflows 2024-05-12 02:47:51 +01:00
Willy-JL
dbdb33f078 Build GH artifacts for other branches too 2024-05-03 05:27:16 +01:00
Willy-JL
6918ea0dfd Thanks for nothing github 2024-03-20 04:41:00 +00:00
Willy-JL
3ceca3978d Fix build workflow again 2024-03-20 04:36:59 +00:00
Willy-JL
f723eb400e Fix build workflow --nobuild 2024-03-20 01:30:00 +00:00
Willy-JL
1f49d82c88 Maybe fix PR builds? --nobuild 2024-03-10 18:00:16 +00:00
Willy-JL
6efc67da5b Skip indexer upload on --nobuild 2024-03-10 16:23:29 +00:00
Willy-JL
1fac76cc2a Revert "No more "--nobuild", indexer wouldn't work"
This reverts commit 7ff3ea0364.
2024-03-10 16:22:05 +00:00
Willy-JL
c0ed5bcd85 Format 2024-03-10 11:49:34 +00:00
Willy-JL
7ff3ea0364 No more "--nobuild", indexer wouldn't work 2024-03-10 11:17:32 +00:00
Willy-JL
20e873f5c5 Devbuild embed (?) 2024-03-10 11:00:37 +00:00
Willy-JL
e755bdb4f1 Fix typos 2024-03-10 10:24:00 +00:00
Willy-JL
d0b32f1124 New build system 2024-03-10 10:17:59 +00:00
Willy-JL
5f11c7b197 Disable devbuild until setup 2024-03-01 12:42:50 +00:00
Willy-JL
418f44fef1 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-11-12 02:56:30 +00:00
hedger
917410a0a8 [FL-3629] fbt: reworked assets & resources handling (#3160)
* fbt: reworking targets & assets handling WIP
* fbt: dist fixes
* fbt: moved SD card resources to owning apps
* unit_tests: moved resources to app folder
* github: updated unit_tests paths
* github: packaging fixes
* unit_tests: fixes
* fbt: assets: internal cleanup
* fbt: reworked assets handling
* github: unit_tests: reintroducing fixes
* minor cleanup
* fbt: naming changes to reflect private nature of scons tools
* fbt: resources: fixed dist archive paths
* docs: updated paths
* docs: updated more paths
* docs: included "resources" parameter in app manifest docs; updated assets readme
* updated gitignore for assets
* github: updated action versions
* unit_tests: restored timeout; scripts: assets: logging changes
* gh: don't upload desktop animations for unit test run

Co-authored-by: あく <alleteam@gmail.com>
2023-10-31 00:17:30 +09:00
Willy-JL
c5d44fed34 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-10-24 02:37:11 +01:00
Willy-JL
16e3294a56 Fix workflows --nobuild 2023-10-24 02:33:17 +01:00
hedger
35c903494c [FL-3627, FL-3628, FL-3631] fbt: glob & git improvements (#3151)
* fbt: optional shallow submodule checkout
* fbt: more git threads by default
* fbt: git condition fix
* fbt: renamed FBT_SHALLOW to FBT_GIT_SUBMODULE_SHALLOW
* github: enabled   FBT_GIT_SUBMODULE_SHALLOW in flows
* fbt: always compile icons' .c, even if user does not specify a proper source glob; changed glob to require files at user-specified paths to exist
* fbt: fail build for missing imports in .faps
* fbt: moved STRICT_FAP_IMPORT_CHECK to commandline options; enabled by default
* ufbt: enabled STRICT_FAP_IMPORT_CHECK

Co-authored-by: あく <alleteam@gmail.com>
2023-10-23 18:55:36 +09:00
hedger
f0f2a6c11f github: typo fix (#3070)
* github: typo fix
* github: sdk action: added validation for action inputs
* github: sdk action: 10+ rcs
2023-09-12 18:24:44 +09:00
hedger
8bfa9898e3 github: final fixes for SDK publishing (#3069)
* Fixes 4 fixes 4 fixes
* gh: proper step naming
* github: Restored SDK processing logic
2023-09-12 10:20:45 +09:00
hedger
c657eb8a40 github: potential fix for compact builds (#3067)
* github: potential fix for compact builds
* github: explicit build mode
2023-09-12 01:18:04 +09:00
hedger
77d6c41914 github: submit SDKs to prod & dev (#3060)
* github: submit SDKs to prod & dev
* github: increased limit of queried SDKs

Co-authored-by: あく <alleteam@gmail.com>
2023-09-11 19:51:03 +09:00
hedger
dfd5233760 github: don't cancel jobs if parallel ones failed (#3044) 2023-09-05 18:17:16 +04:00
hedger
452e27b05e 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
2023-09-05 20:49:39 +09:00
hedger
5eeb672dd4 github: workflow trigger optimizations (#3030) 2023-09-01 12:09:48 +09:00
hedger
ace0901125 [FL-3486,FL-3392] fbt: various improvements and bug fixes (#2982)
* fbt: extapps: compact debug format for .faps
* fbt: sdk: fixed symbol cache regen logic for removed-only symbols
* lib: elf_file: early .fap file handle release
* fbt: extapps: added FAP_VERSION define for application environments
* github: added appsymbols artifact
* api: updates for f18
* github: fixed early fap_dist
* fbt: added flash_dap
* ufbt: added flash_dap
* fbt: reworked flash target; scripts: program.py->fwflash.py and changes
* vscode: updated configuration
* scripts: fwflash.py: ugly fixes for ufbt
* scripts: fwflash.py: cleanup
* fbt: flash: always use .elf file
* scripts: fwflash: fixed elf file path

Co-authored-by: あく <alleteam@gmail.com>
2023-08-23 03:33:10 +09:00
Nikolay Minaylov
fb63e53d9a [FL-3435] External apps removed (#2934)
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-08-10 06:18:40 +09:00
Willy-JL
6f0ccaacab Add option to skip devbuild --nobuild 2023-08-09 21:18:12 +02:00
Willy-JL
2e0d5e87f0 Cancel previous running builds 2023-07-21 03:02:20 +01:00
WillyJL
308517299b Fix dev builds? 2023-07-20 04:19:38 +02:00