Skip to content

Build

Build #96

Workflow file for this run

name: Build
on:
push:
branches:
- master
paths-ignore:
- "*.md"
- "screenshots/**"
pull_request:
paths-ignore:
- "*.md"
- "screenshots/**"
schedule:
- cron: "1 1 * * *"
jobs:
ufbt-build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: dev channel
sdk-channel: dev
- name: release channel
sdk-channel: release
name: "Build for ${{ matrix.name }}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build with ufbt
uses: flipperdevices/flipperzero-ufbt-action@v0.1
id: build-app
with:
sdk-channel: ${{ matrix.sdk-channel }}
- 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 }}
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint with ufbt
uses: flipperdevices/flipperzero-ufbt-action@v0.1
with:
task: lint