added new workflow to test updated nightly #1
Workflow file for this run
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
name: Build with last nightly everyday @ 4PM | |
on: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '00 12 * * *' | |
jobs: | |
build_with_last_nightly: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest | |
strategy: | |
matrix: | |
target: ["nanos", "nanox", "nanosplus"] | |
steps: | |
- name: update nightly toolchain | |
run: | | |
rustup update nightly | |
rustup default nightly | |
rustup component add rust-src --toolchain nightly | |
cargo ledger setup | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
repository: LedgerHQ/app-boilerplate-rust | |
path: app-boilerplate | |
- name: Build | |
run: | | |
cd app-boilerplate | |
cargo ledger build ${{ matrix.target }} |