Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build & test BP for a given API level #699

Draft
wants to merge 1 commit into
base: API_LEVEL_20
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/api_level_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Api level check

on:
workflow_dispatch:
inputs:
sdk_branch:
type: string
required: false
default: ''
pull_request:
branches:
- 'API_LEVEL_*'

jobs:
test-build:
name: Build and test Boilerplate app
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest

steps:
- name: Clone App
uses: actions/checkout@v4
with:
repository: LedgerHQ/app-boilerplate
ref: master

- name: Clone SDK
uses: actions/checkout@v4
with:
path: sdk
ref: ${{ inputs.sdk_branch }}

- name: Build NanoX
run: |
TARGET=nanox BOLOS_SDK=$GITHUB_WORKSPACE/sdk make

- name: Build NanoS2
run: |
TARGET=nanos2 BOLOS_SDK=$GITHUB_WORKSPACE/sdk make

- name: Build Stax
run: |
TARGET=stax BOLOS_SDK=$GITHUB_WORKSPACE/sdk make

- name: Build Flex
run: |
TARGET=flex BOLOS_SDK=$GITHUB_WORKSPACE/sdk make

ragger-tests:
name: Run ragger tests using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
needs: test-build
Loading