Skip to content

Commit

Permalink
Run generate in debug mode (#107)
Browse files Browse the repository at this point in the history
* Run generate in debug mode without updater

* Run xtask alias in CI
  • Loading branch information
bugadani authored Feb 11, 2025
1 parent ec12817 commit 8502deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:

- name: Generate and check project
if: github.event_name != 'schedule' && !inputs.all_combinations
run: cd xtask && cargo ${{ env.TOOLCHAIN }} run -- check ${{ matrix.chip }}
run: cargo ${{ env.TOOLCHAIN }} xtask check ${{ matrix.chip }}

- name: Generate and check project (all combinations)
if: github.event_name == 'schedule' || inputs.all_combinations
run: cd xtask && cargo ${{ env.TOOLCHAIN }} run -- check ${{ matrix.chip }} --all-combinations
run: cargo ${{ env.TOOLCHAIN }} xtask check ${{ matrix.chip }} --all-combinations

# --------------------------------------------------------------------------
# Test
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ fn generate(
) -> Result<()> {
let mut args = vec![
"run",
"--release",
"--no-default-features",
"--",
"--headless",
&format!("--chip={chip}"),
Expand Down

0 comments on commit 8502deb

Please sign in to comment.