From 1c8ee8bf6c166b063dc112bb86ce42876a4a01aa Mon Sep 17 00:00:00 2001 From: Kirill Mikhailov Date: Wed, 6 Nov 2024 13:26:21 +0100 Subject: [PATCH] another CI temp limitation --- .github/actions/check-esp-hal/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/check-esp-hal/action.yml b/.github/actions/check-esp-hal/action.yml index 5430245612..c3153a4327 100644 --- a/.github/actions/check-esp-hal/action.yml +++ b/.github/actions/check-esp-hal/action.yml @@ -20,7 +20,7 @@ runs: big_target=$(echo "${{ matrix.device.target }}" | tr [:lower:] [:upper:] | tr '-' '_') # Set the *target specific* RUSTFLAGS for the current device: echo "CARGO_TARGET_${big_target}_RUSTFLAGS=-Dwarnings" >> $GITHUB_ENV - # Linting toolchain (stable cant build documentation) + # Linting toolchain (stable can't build documentation) if [ "${{ inputs.toolchain }}" == "nightly" ]; then echo "LINTING_TOOLCHAIN=+nightly" >> $GITHUB_ENV else @@ -33,9 +33,11 @@ runs: run: cargo $LINTING_TOOLCHAIN xtask lint-packages --chips ${{ inputs.device }} - name: Check doc-tests shell: bash + if: ${{ !contains(fromJson('["esp32p4"]'), inputs.device) }} # TODO: Remove when `esp32p4` is added to all the packages run: cargo $LINTING_TOOLCHAIN xtask run-doc-test esp-hal ${{ inputs.device }} - name: Check documentation shell: bash + if: ${{ !contains(fromJson('["esp32p4"]'), inputs.device) }} # TODO: Remove when `esp32p4` is added to all the packages run: cargo $LINTING_TOOLCHAIN xtask build-documentation --packages esp-hal --chips ${{ inputs.device }} # Build all supported examples for the low-power core first (if present): - name: Build prerequisite examples (esp-lp-hal)