File tree 6 files changed +75
-0
lines changed
6 files changed +75
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " FAP: Build for multiple SDK sources"
2
+ # This will build your app for dev and release channels on GitHub.
3
+ # It will also build your app every day to make sure it's up to date with the latest SDK changes.
4
+ # See https://github.com/marketplace/actions/build-flipper-application-package-fap for more information
5
+
6
+ on :
7
+ push :
8
+ # # put your main branch name under "branches"
9
+ # branches:
10
+ # - master
11
+ pull_request :
12
+ schedule :
13
+ # do a build every day
14
+ - cron : " 1 1 * * *"
15
+
16
+ jobs :
17
+ ufbt-build :
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ include :
22
+ - name : dev channel
23
+ sdk-channel : dev
24
+ - name : release channel
25
+ sdk-channel : release
26
+ # You can add unofficial channels here. See ufbt action docs for more info.
27
+ name : ' ufbt: Build for ${{ matrix.name }}'
28
+ steps :
29
+ - name : Checkout
30
+ uses : actions/checkout@v4
31
+ - name : Build with ufbt
32
+ uses : flipperdevices/flipperzero-ufbt-action@v0.1
33
+ id : build-app
34
+ with :
35
+ sdk-channel : ${{ matrix.sdk-channel }}
36
+ - name : Upload app artifacts
37
+ uses : actions/upload-artifact@v3
38
+ with :
39
+ # See ufbt action docs for other output variables
40
+ name : ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
41
+ path : ${{ steps.build-app.outputs.fap-artifacts }}
Original file line number Diff line number Diff line change
1
+ dist /*
2
+ .vscode
3
+ .clang-format
4
+ .editorconfig
5
+ .env
6
+ .ufbt
Original file line number Diff line number Diff line change
1
+ # For details & more options, see documentation/AppManifests.md in firmware repo
2
+
3
+ App(
4
+ appid="tone_gen", # Must be unique
5
+ name="Tone Generator", # Displayed in menus
6
+ apptype=FlipperAppType.EXTERNAL,
7
+ entry_point="tone_gen_app",
8
+ stack_size=2 * 1024,
9
+ fap_category="Tools",
10
+ fap_version="0.1",
11
+ fap_icon="tone_gen.png", # 10x10 1-bit PNG
12
+ fap_description="A simple app to generate sound tones.",
13
+ fap_author="Gerald McAlister",
14
+ fap_weburl="https://github.com/GEMISIS/tone_gen",
15
+ fap_icon_assets="images", # Image assets to compile for this application
16
+ )
Original file line number Diff line number Diff line change
1
+ #include <furi.h>
2
+
3
+ /* generated by fbt from .png files in images folder */
4
+ #include <tone_gen_icons.h>
5
+
6
+ int32_t tone_gen_app (void * p ) {
7
+ UNUSED (p );
8
+ FURI_LOG_I ("TEST" , "Hello world" );
9
+ FURI_LOG_I ("TEST" , "I'm tone_gen!" );
10
+
11
+ return 0 ;
12
+ }
You can’t perform that action at this time.
0 commit comments