Skip to content

Commit

Permalink
Build Rust SDK for each PR
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Sep 25, 2024
1 parent 0a5281b commit 7f6b201
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build_rust_sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build Rust SDK

on:
workflow_dispatch:
pull_request:

jobs:
test_build_rust:
name: Build Rust SDK
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
strategy:
matrix:
target: ["nanox", "nanosplus", "stax", "flex"]
steps:
- name: Clone
uses: actions/checkout@v4
with:
repository: LedgerHQ/ledger-device-rust-sdk
ref: master
path: rust_sdk
- name: Cargo build
working-directory: rust_sdk/ledger_device_sdk
run: |
cargo +$RUST_NIGHTLY build --target ${{ matrix.target }}

0 comments on commit 7f6b201

Please sign in to comment.