Skip to content

Commit

Permalink
ci: add ufbt build
Browse files Browse the repository at this point in the history
  • Loading branch information
xtruan committed Aug 2, 2024
1 parent bd387d3 commit f419191
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/flipperzero-ufbt-action@v0.1.3
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 f419191

Please sign in to comment.