mirror of
https://github.com/bettse/seader.git
synced 2026-03-30 20:45:51 +00:00
32 lines
952 B
YAML
32 lines
952 B
YAML
name: "FAP: Build, test, and lint"
|
|
on: [push, pull_request]
|
|
jobs:
|
|
ufbt-build-action:
|
|
runs-on: ubuntu-latest
|
|
name: 'ufbt: Build for release branch'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: 'true'
|
|
- name: Setup ufbt
|
|
uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
|
|
with:
|
|
sdk-channel: release
|
|
task: setup
|
|
- name: Run host tests
|
|
run: make test-host
|
|
- name: Lint sources
|
|
run: ufbt lint
|
|
- name: Build with ufbt
|
|
uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
|
|
id: build-app
|
|
with:
|
|
skip-setup: true
|
|
sdk-channel: release
|
|
- name: Upload app artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
|
|
path: ${{ steps.build-app.outputs.fap-artifacts }}
|