-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.23 KB
/
build_hex_viewer.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
name: "hex_viewer: Build and lint"
on:
push:
branches: [ master ]
paths:
- ".github/workflows/build_hex_viewer.yaml"
- "tools/apps/hex_viewer/**"
pull_request:
branches: [ master ]
paths:
- ".github/workflows/build_hex_viewer.yaml"
- "tools/apps/hex_viewer/**"
workflow_dispatch:
jobs:
build:
strategy:
matrix:
sdk-version: ["release", "dev", "rc"]
runs-on: ubuntu-latest
name: 'ufbt: Build for ${{ matrix.sdk-version }} Branch'
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build with ufbt
uses: flipperdevices/flipperzero-ufbt-action@v0.1
id: build-app
with:
sdk-channel: ${{ matrix.sdk-version }}
app-dir: tools/apps/hex_viewer
- name: Upload app artifacts
uses: actions/upload-artifact@v4
with:
name: "flipperzero-hex_viewer-${{ matrix.sdk-version }}-${{ steps.build-app.outputs.suffix }}"
path: ${{ steps.build-app.outputs.fap-artifacts }}
- name: Lint sources
uses: flipperdevices/flipperzero-ufbt-action@v0.1
with:
skip-setup: true
task: lint
app-dir: tools/apps/hex_viewer