Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,19 @@ jobs:
dir: examples/lilygo-epd47-demo
target: ""
setup_xtensa: true
# RP2040-Zero EPD demo
- name: rp2040-1in54-epd-example
dir: examples/rp2040-1in54-epd-example
target: "thumbv6m-none-eabi"
setup_xtensa: false
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Rust (stable)
if: ${{ matrix.project.setup_xtensa == false }}
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
components: clippy, rust-src
- name: Setup Xtensa toolchain (ESP-IDF)
if: ${{ matrix.project.setup_xtensa == true }}
uses: esp-rs/xtensa-toolchain@v1.6.0
Expand Down Expand Up @@ -143,10 +148,6 @@ jobs:
- thumbv7em-none-eabi
- thumbv7em-none-eabihf
- thumbv7m-none-eabi
# no alloc::sync, required by kasuari
# - thumbv6m-none-eabi
# - riscv32imc-unknown-none-elf # esp32c2, esp32c3
# - riscv32imac-unknown-none-elf # esp32c6, esp32h2
toolchain: ["1.86.0", "stable"]
runs-on: ubuntu-latest
steps:
Expand All @@ -158,6 +159,27 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo build --release --target ${{ matrix.target }}

build-std:
name: build [build-std] ${{ matrix.example.target }} (${{ matrix.example.name }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
example:
- name: rp2040-example
dir: examples/rp2040-1in54-epd-example
target: thumbv6m-none-eabi
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.example.target }}
components: rust-src
- uses: Swatinem/rust-cache@v2
- name: Build ${{ matrix.example.name }}
working-directory: ${{ matrix.example.dir }}
run: cargo build --release

build-espidf-std:
name: build [std] ${{ matrix.target }}
strategy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.idea
.DS_Store
/.vscode
*.uf2
Loading