From fb0d305a7a78a97f032830c9e07bc932f093e165 Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Mon, 19 Jun 2023 19:33:17 +0200 Subject: [PATCH] ci: build tokio for redox-os (#5800) --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 582e379f148..95050892dfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,7 @@ jobs: - check-readme - test-hyper - x86_64-fortanix-unknown-sgx + - check-redox - wasm32-unknown-unknown - wasm32-wasi - check-external-types @@ -611,6 +612,21 @@ jobs: run: cargo build --target x86_64-fortanix-unknown-sgx --features rt,sync working-directory: tokio + check-redox: + name: build tokio for redox-os + needs: basics + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Rust ${{ env.rust_nightly }} + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.rust_nightly }} + target: x86_64-unknown-redox + - name: check tokio on redox + run: cargo check --target x86_64-unknown-redox --all-features + working-directory: tokio + wasm32-unknown-unknown: name: test tokio for wasm32-unknown-unknown needs: basics