-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new workflow to test updated nightly
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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 }} |