Skip to content

Adds a Justfile and a composite action. #28

Adds a Justfile and a composite action.

Adds a Justfile and a composite action. #28

name: Weekly Canary Build
env:
CARGO_TERM_COLOR: always # We want colors in our CI output
CARGO_INCREMENTAL: 0 # Don't waste time writing out incremental build files
CARGO_PROFILE_TEST_DEBUG: 0 # These are thrown away anyways, don't produce them
on:
schedule:
- cron: '0 0 * * Mon'
jobs:
weekly-canary-build:
strategy:
fail-fast: false
matrix:
rust-channel: [stable, beta, nightly]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
cache: exercise-book
channel: ${{ matrix.rust-channel }}
- name: Install mdbook, mdbook-mermaid
uses: taiki-e/install-action@v2
with:
tool: [email protected],[email protected]
- run: just test-mdbook
- run: just build-mdbook
- name: Upload mdbook artifacts
uses: actions/upload-artifact@v4
with:
name: mdbook-dir
path: exercise-book/book/
if-no-files-found: error
build-nrf52-code:
strategy:
fail-fast: false
matrix:
rust-channel: [stable, beta, nightly]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
cache: exercise-book
channel: ${{ matrix.rust-channel }}
steps:

Check failure on line 50 in .github/workflows/weekly-canary-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/weekly-canary-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 50
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
channel: ${{ matrix.rust-channel }}
cache: nrf52-code
target: thumbv7em-none-eabihf
- run: just build-nrf52-code