Skip to content

Commit

Permalink
Run CI for the default target
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 10, 2024
1 parent e5f4bdb commit 4404552
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
- name: Build | Fmt Check
run: cargo fmt -- --check
- name: Build | Clippy
run: cargo clippy --features experimental --no-deps --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort -- -Dwarnings
run: cargo clippy --features experimental -- -Dwarnings
- name: Build | Experimental
run: cargo build --features experimental --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo build --features experimental
- name: Build | Compile / no_std, alloc
run: cargo build --no-default-features --features experimental,alloc,use_serde,use_strum,use_numenum,log --target riscv32imc-esp-espidf -Zbuild-std=core,alloc,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo build --no-default-features --features experimental,alloc,use_serde,use_strum,use_numenum,log
- name: Build | Compile / no_std
run: cargo build --no-default-features --features experimental,use_serde,use_strum,use_numenum,log --target riscv32imc-esp-espidf -Zbuild-std=core,alloc,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo build --no-default-features --features experimental,use_serde,use_strum,use_numenum,log
- name: Build | Compile / no_std, no serde
run: cargo build --no-default-features --features experimental,use_strum,use_numenum,log --target riscv32imc-esp-espidf -Zbuild-std=core,alloc,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo build --no-default-features --features experimental,use_strum,use_numenum,log
- name: Build | Compile / defmt
run: cargo build --no-default-features --features std,experimental,use_serde,use_strum,use_numenum,defmt --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo build --no-default-features --features std,experimental,use_serde,use_strum,use_numenum,defmt
- name: Build | Compile / defmt, no_std
run: cargo build --no-default-features --features experimental,use_serde,use_strum,use_numenum,defmt --target riscv32imc-esp-espidf -Zbuild-std=core,alloc,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo build --no-default-features --features experimental,use_serde,use_strum,use_numenum,defmt
2 changes: 1 addition & 1 deletion .github/workflows/publish-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
toolchain: ${{ env.rust_toolchain }}
components: rust-src
- name: Build | Publish Dry Run
run: cargo publish --dry-run --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo publish --dry-run
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Login
run: cargo login ${{ secrets.crates_io_token }}
- name: Build | Publish
run: cargo publish --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
run: cargo publish
- name: Get the crate version from cargo
run: |
version=$(cargo metadata --format-version=1 --no-deps | jq -r ".packages[] | select(.name == \"${{env.crate_name}}\") | .version")
Expand Down

0 comments on commit 4404552

Please sign in to comment.