This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from hedger/main
Updated build automation to latest ufbt
- Loading branch information
Showing
1 changed file
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,37 @@ | ||
name: Build main | ||
|
||
name: "FAP: Build for multiple SDK sources" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
jobs: | ||
build_dev: | ||
ufbt-build-action: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
include: | ||
- name: Official Dev channel | ||
sdk-channel: dev | ||
- name: Official Release channel | ||
sdk-channel: release | ||
- name: Unleashed Dev | ||
sdk-index-url: https://up.unleashedflip.com/directory.json | ||
sdk-channel: dev | ||
- name: Unleashed Release | ||
sdk-index-url: https://up.unleashedflip.com/directory.json | ||
sdk-channel: release | ||
name: 'ufbt: Build for ${{ matrix.name }}' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
uses: oleksiikutuzov/flipperzero-ufbt-action@v2 | ||
- name: Build with ufbt | ||
uses: flipperdevices/[email protected] | ||
id: build-app | ||
with: | ||
channel: release | ||
sdk-channel: ${{ matrix.sdk-channel }} | ||
sdk-index-url: ${{ matrix.sdk-index-url }} | ||
- 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 }} |