-
Notifications
You must be signed in to change notification settings - Fork 32
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 #31 from LedgerHQ/update-app
Update app : features, UI, tests, CI.
- Loading branch information
Showing
180 changed files
with
2,065 additions
and
202 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 |
---|---|---|
|
@@ -13,26 +13,28 @@ env: | |
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build_clippy_fmt: | ||
build: | ||
name : Build | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools:latest | ||
strategy: | ||
matrix: | ||
target: ["nanos", "nanox", "nanosplus"] | ||
steps: | ||
- name: arm-none-eabi-gcc | ||
uses: fiam/[email protected] | ||
with: | ||
release: '9-2019-q4' | ||
- name: Checkout | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Build app | ||
run: cargo ledger build ${{ matrix.target }} | ||
|
||
clippy_fmt: | ||
name: Run static analysis and formatting check | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools:latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Install clang | ||
run: sudo apt-get update && sudo apt install -y clang | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
components: rust-src, rustfmt, clippy | ||
- name: Install cargo-ledger | ||
run: cargo install --git=https://github.com/LedgerHQ/cargo-ledger | ||
- name: Setup cargo-ledger | ||
run: cargo ledger setup | ||
- name: Cargo clippy | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
|
@@ -42,6 +44,3 @@ jobs: | |
with: | ||
command: fmt | ||
args: --all -- --check | ||
- name: Build app | ||
run: cargo ledger build nanosplus | ||
|
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,4 +1,22 @@ | ||
target | ||
app.json | ||
app_nanos.json | ||
app_nanosplus.json | ||
app_nanox.json | ||
|
||
# Temporary directory with snapshots taken during test runs | ||
tests/snapshots-tmp/ | ||
|
||
# Python | ||
*.pyc[cod] | ||
*.egg | ||
__pycache__/ | ||
*.egg-info/ | ||
.eggs/ | ||
.python-version | ||
|
||
# Related to the Ledger VSCode extension | ||
# Virtual env for sideload (macOS and Windows) | ||
ledger/ | ||
# Build directory | ||
build/ |
Oops, something went wrong.