Skip to content

Commit 3cc19cc

Browse files
committed
ci: Re-enable ESP-IDF check
1 parent 2016d64 commit 3cc19cc

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ jobs:
7272
RUSTFLAGS: ${{ env.RUSTFLAGS }} --cfg polling_test_epoll_pipe
7373
if: startsWith(matrix.os, 'ubuntu')
7474
- run: cargo hack build --feature-powerset --no-dev-deps
75-
# TODO: broken due to https://github.com/rust-lang/rust/pull/119026.
76-
# - name: Check selected Tier 3 targets
77-
# if: startsWith(matrix.rust, 'nightly') && matrix.os == 'ubuntu-latest'
78-
# run: cargo check -Z build-std --target=riscv32imc-esp-espidf
7975
- name: Clone async-io
8076
run: git clone https://github.com/smol-rs/async-io.git
8177
# The async-io Cargo.toml already has a patch section at the bottom, so we
@@ -126,19 +122,22 @@ jobs:
126122
rustup target add x86_64-unknown-illumos
127123
cargo build --target x86_64-unknown-illumos
128124
- name: Redox
129-
if: startsWith(matrix.rust, 'nightly') && matrix.os == 'ubuntu-latest'
125+
if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu')
130126
run: |
131127
rustup target add x86_64-unknown-redox
132128
cargo check --target x86_64-unknown-redox
133129
- name: HermitOS
134-
if: startsWith(matrix.rust, 'nightly') && matrix.os == 'ubuntu-latest'
130+
if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu')
135131
run: cargo check -Z build-std --target x86_64-unknown-hermit
136132
- name: Check haiku
137-
if: startsWith(matrix.rust, 'nightly') && matrix.os == 'ubuntu-latest'
133+
if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu')
138134
run: cargo check -Z build-std --target x86_64-unknown-haiku
139135
- name: Check vita
140-
if: startsWith(matrix.rust, 'nightly') && matrix.os == 'ubuntu-latest'
136+
if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu')
141137
run: cargo check -Z build-std --target armv7-sony-vita-newlibeabihf
138+
- name: Check ESP-IDF
139+
if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu')
140+
run: cargo check -Z build-std --target riscv32imc-esp-espidf
142141

143142
wine:
144143
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)