Skip to content

Commit

Permalink
[WIP] build riscv binaries for vnd-test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspider committed Nov 15, 2024
1 parent 131e0fe commit abccad1
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run unit tests
name: Build and run tests

on:
push:
Expand Down Expand Up @@ -120,3 +120,28 @@ jobs:
with:
upload_app_binaries_artifact: "compiled_app_binaries"
builder: ledger-app-builder

# build test V-App
build_vapp_test:
name: Build vnd-test on Risc-V target
runs-on: ubuntu-latest
steps:
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: riscv32i-unknown-none-elf
components: rustfmt, clippy
profile: minimal
- name: Clone
uses: actions/checkout@v4
- name: Build app
working-directory: apps/test/app
run: |
cargo +nightly build --release --target riscv32i-unknown-none-elf
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: vnd_test_riscv
path: apps/test/app/target/riscv32i-unknown-none-elf/release/vnd-test

0 comments on commit abccad1

Please sign in to comment.