-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (31 loc) · 1.07 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "FAP: Build and lint"
on: [push, pull_request]
jobs:
ufbt-build-action:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: release channel
sdk-channel: release
- name: dev channel
sdk-channel: dev
- name: xtreme firmware
sdk-hw-target: f7
sdk-url: https://github.com/Flipper-XFW/Xtreme-Firmware/releases/download/XFW-0050_27072023/XFW-0050_27072023-sdk.zip
name: 'ufbt: Build for ${{ matrix.name }}'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build with ufbt
uses: flipperdevices/[email protected]
id: build-app
with:
sdk-channel: ${{ matrix.sdk-channel }}
sdk-url: ${{ matrix.sdk-url }}
sdk-hw-target: ${{ matrix.sdk-hw-target }}
- 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 }}