Skip to content

Commit

Permalink
Merge pull request #5 from xtruan/main
Browse files Browse the repository at this point in the history
Add build workflow using uFBT
  • Loading branch information
zinongli authored Aug 4, 2024
2 parents bd387d3 + f419191 commit e479621
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
Binary file removed .DS_Store
Binary file not shown.
36 changes: 36 additions & 0 deletions .github/workflows/ufbt_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "uFBT Build"
on:
workflow_dispatch:
push:
branches:
- main
- develop
pull_request:
# schedule:
# do a build every day
# - cron: "1 1 * * *"
jobs:
ufbt-build-action:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: dev channel
sdk-channel: dev
- name: release channel
sdk-channel: release
name: 'ufbt: Build for ${{ matrix.name }}'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build with ufbt
uses: flipperdevices/[email protected]
id: build-app
with:
sdk-channel: ${{ matrix.sdk-channel }}
sdk-index-url: ${{ matrix.sdk-index-url }}
- name: Upload app artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
path: ${{ steps.build-app.outputs.fap-artifacts }}
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf

.DS_Store

0 comments on commit e479621

Please sign in to comment.