diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1440376..fa7f247 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Run unit tests +name: Build and run tests on: push: @@ -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 + \ No newline at end of file