mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-26 03:39:58 -07:00
autofire upd
This commit is contained in:
32
applications/plugins/usb_hid_autofire/.github/workflows/build-test.yml
vendored
Normal file
32
applications/plugins/usb_hid_autofire/.github/workflows/build-test.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build application
|
||||
steps:
|
||||
- name: Cache toolchain
|
||||
uses: actions/cache@v3
|
||||
id: toolchain-cache
|
||||
with:
|
||||
path: ./firmware
|
||||
key: firmware
|
||||
- name: Checkout firmware
|
||||
if: steps.toolchain-cache.outputs.cache-hit != 'true'
|
||||
run: git clone https://github.com/flipperdevices/flipperzero-firmware.git --recursive --depth 1 firmware
|
||||
- name: Install toolchain
|
||||
if: steps.toolchain-cache.outputs.cache-hit != 'true'
|
||||
run: cd firmware && ./fbt
|
||||
- name: Checkout application
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: firmware/applications_user/usb_hid_autofire
|
||||
- name: Build application
|
||||
run: cd firmware && ./fbt fap_usb_hid_autofire
|
||||
Reference in New Issue
Block a user