Skip to content

Commit

Permalink
add astro to github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sycrosity committed Sep 4, 2024
1 parent 992e1a8 commit 7b6d8dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Setup Rust
uses: esp-rs/[email protected]
with:
default: true
buildtargets: esp32
buildtargets: ${{ matrix.board }}
ldproxy: false
- name: Enable caching
uses: Swatinem/rust-cache@v2
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ overflow-checks = false
[profile.release.package.esp-wifi]
opt-level = 3


[profile.dev.package.esp-wifi]
opt-level = 3

Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ taplo:
_ci_fmt:
cargo +nightly fmt --all -- --config-path ./rustfmt.nightly.toml --check --color always

_ci_build board: (build board)
_ci_build board: astro (build board)

[group('ci')]
_ci_clippy board:
_ci_clippy board: astro
cargo +esp clippy --target {{ if board == "esp32" { "xtensa-esp32-none-elf" } else { "riscv32imc-unknown-none-elf" } }} --features {{ board }} --workspace -- -D warnings

_prepare board: (_ci_clippy board) (_ci_build board)

_prepare_all: (_prepare "esp32c3") (_prepare "esp32")
_prepare_all: astro (_prepare "esp32c3") (_prepare "esp32")

0 comments on commit 7b6d8dd

Please sign in to comment.