Improve some widgets to add icon #1148
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
name: Run Clang Static Analyzer | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
scan_build: | |
name: Clang Static Analyzer for NanoS, X, S+, and Stax | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [nanos, nanox, nanos2, stax] | |
debug: [0, 1] | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest | |
steps: | |
- name: Clone Boilerplate | |
uses: actions/checkout@v3 | |
with: | |
repository: LedgerHQ/app-boilerplate | |
ref: master | |
- name: Clone SDK | |
uses: actions/checkout@v3 | |
with: | |
path: sdk | |
- name: Build with Clang Static Analyzer | |
run: | | |
TARGET=${{ matrix.target }} \ | |
BOLOS_SDK=sdk \ | |
make scan-build -j ENABLE_SDK_WERROR=1 DEBUG=${{ matrix.debug }} | |
- name: Upload scan result | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: scan-build | |
path: scan-build |