Skip to content

Commit

Permalink
Merge pull request #156 from LedgerHQ/y333/fix_ci_nightly_build
Browse files Browse the repository at this point in the history
Try to build boilerplate with last nightly
  • Loading branch information
yogh333 authored May 27, 2024
2 parents 870a259 + e9c288e commit 5b5b976
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/build_with_current_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,19 @@ jobs:
cd app-boilerplate
RUST_NIGHTLY=nightly
cargo ledger build ${{ matrix.device }}
mkdir -p build/${BIN_DIR_NAME}/bin
mv ./target/${BUILD_DEVICE_NAME}/release/app-boilerplate-rust ./build/${BIN_DIR_NAME}/bin/app.elf
- name: Upload binary artifacts
uses: actions/upload-artifact@v3
with:
name: "app_elf_binaries"
path: app-boilerplate/build/*
if-no-files-found: error
#- name: Upload binary artifacts
# uses: actions/upload-artifact@v3
# with:
# name: "app_elf_binaries"
# path: app-boilerplate/target/*
# if-no-files-found: error

ragger_tests:
name: Run ragger tests using the reusable workflow
needs: build_with_last_nightly
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
app_repository: LedgerHQ/app-boilerplate-rust
app_branch_name: "main"
download_app_binaries_artifact: "app_elf_binaries"
#ragger_tests:
# name: Run ragger tests using the reusable workflow
# needs: build_with_last_nightly
# uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
# with:
# app_repository: LedgerHQ/app-boilerplate-rust
# app_branch_name: "main"
# download_app_binaries_artifact: "app_elf_binaries"

0 comments on commit 5b5b976

Please sign in to comment.