Skip to content

Weekly Canary Build #36

Weekly Canary Build

Weekly Canary Build #36

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: '45 1 * * Mon'
# Uncomment this temporarily if you are changing this workflow
# push:
# branches:
# - main
# tags:
# - "**"
# pull_request:
# branches:
# - main
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-${{ matrix.rust-channel }}
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:
channel: ${{ matrix.rust-channel }}
cache: nrf52-code
target: thumbv7em-none-eabihf
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- run: just build-nrf52-code