Skip to content

Commit

Permalink
added new workflow to test updated nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Jan 17, 2024
1 parent a4a5d34 commit 09c07bb
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_with_nightly.yml
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 }}

0 comments on commit 09c07bb

Please sign in to comment.