Add repro-env config for reproducible firmware #48
Workflow file for this run
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
name: Firmware | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: | |
- cron: '0 9 * * 1' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup component add rust-src | |
- run: cargo install ldproxy | |
- run: RUSTC_BOOTSTRAP=1 cargo build --release --target=riscv32imc-esp-espidf | |
working-directory: firmware/ | |
tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo test -p d3xs-firmware | |
clippy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup component add rust-src | |
- run: RUSTC_BOOTSTRAP=1 cargo clippy --target=riscv32imc-esp-espidf | |
working-directory: firmware/ |