mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-27 04:10:30 +00:00
Fix the build; enable the experimental features in CI
This commit is contained in:
parent
b186a3be4c
commit
c83cbe6b66
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -57,28 +57,28 @@ jobs:
|
||||
ESP_IDF_VERSION: ${{ matrix.idf-version }}
|
||||
ESP_IDF_SDKCONFIG_DEFAULTS: "${{ github.workspace }}/.github/configs/sdkconfig.defaults"
|
||||
RUSTFLAGS: "${{ matrix.idf-version == 'release/v5.1' && '--cfg espidf_time64' || ''}}"
|
||||
run: cargo clippy --no-deps --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort -- -Dwarnings
|
||||
run: cargo clippy --features experimental --no-deps --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort -- -Dwarnings
|
||||
|
||||
- name: Build | Compile, all
|
||||
env:
|
||||
ESP_IDF_VERSION: ${{ matrix.idf-version }}
|
||||
ESP_IDF_SDKCONFIG_DEFAULTS: "${{ github.workspace }}/.github/configs/sdkconfig.defaults"
|
||||
RUSTFLAGS: "${{ matrix.idf-version == 'release/v5.1' && '--cfg espidf_time64' || ''}}"
|
||||
run: cargo build --target ${{ matrix.target }} --features nightly,critical-section,embassy-sync -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
run: cargo build --target ${{ matrix.target }} --features nightly,experimental,critical-section,embassy-sync -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
|
||||
- name: Build | Compile, no_std
|
||||
env:
|
||||
ESP_IDF_VERSION: ${{ matrix.idf-version }}
|
||||
ESP_IDF_SDKCONFIG_DEFAULTS: "${{ github.workspace }}/.github/configs/sdkconfig.defaults"
|
||||
RUSTFLAGS: "${{ matrix.idf-version == 'release/v5.1' && '--cfg espidf_time64' || ''}}"
|
||||
run: cargo build --no-default-features --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
run: cargo build --no-default-features --features experimental --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
|
||||
- name: Build | Compile, no_std, alloc
|
||||
env:
|
||||
ESP_IDF_VERSION: ${{ matrix.idf-version }}
|
||||
ESP_IDF_SDKCONFIG_DEFAULTS: "${{ github.workspace }}/.github/configs/sdkconfig.defaults"
|
||||
RUSTFLAGS: "${{ matrix.idf-version == 'release/v5.1' && '--cfg espidf_time64' || ''}}"
|
||||
run: cargo build --features alloc --no-default-features --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
run: cargo build --features alloc --no-default-features --features experimental --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
|
||||
- name: Setup | ldproxy
|
||||
if: matrix.target == 'riscv32imc-esp-espidf'
|
||||
|
Loading…
x
Reference in New Issue
Block a user