Skip to content

chore(deps): bump the cargo-deps group with 6 updates (#122) #406

chore(deps): bump the cargo-deps group with 6 updates (#122)

chore(deps): bump the cargo-deps group with 6 updates (#122) #406

name: CoDiOS CI debug builder
'on':
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
build-debug:
name: Debug builder for Cosmo CoDiOS
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup caching
uses: actions-rs/[email protected]
with:
crate: cross
version: latest
use-tool-cache: true
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-04-11
default: true
override: true
target: thumbv7em-none-eabihf
profile: minimal
- name: Build project (thumbv7em-none-eabihf) in debug mode
uses: actions-rs/cargo@v1
with:
command: build
args: >-
--all --locked --verbose --features firmware --target=thumbv7em-none-eabihf
use-cross: true
- name: Upload debug artefacts
uses: actions/upload-artifact@v4
with:
name: codios-firmware-debug.bin
path: |
/home/runner/work/CoDiOS/CoDiOS/target/thumbv7em-none-eabihf/debug/codios-firmware