From 4a276d682ecb08df744dcf91dba8e3d16fe9630a Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Fri, 16 Jun 2023 12:04:09 +0200 Subject: [PATCH 1/3] Add a check-redox job in GH Action ci.yml workflow --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 582e379f148..be307689acf 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: check that tokio compiles on redox-os target (pending addition to CI testing) + 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 + working-directory: tokio + wasm32-unknown-unknown: name: test tokio for wasm32-unknown-unknown needs: basics From 36b6de2253dc5e07dc769eaa03574e7f73ae6443 Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Fri, 16 Jun 2023 13:33:39 +0200 Subject: [PATCH 2/3] Enable all features Co-authored-by: Alice Ryhl --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be307689acf..9d0e8078179 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -624,7 +624,7 @@ jobs: toolchain: ${{ env.rust_nightly }} target: x86_64-unknown-redox - name: check tokio on redox - run: cargo check --target x86_64-unknown-redox + run: cargo check --target x86_64-unknown-redox --all-features working-directory: tokio wasm32-unknown-unknown: From 87bef24f71c9fd2bace92e801e7b9c2ec3f67711 Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Fri, 16 Jun 2023 13:34:01 +0200 Subject: [PATCH 3/3] Shorter name Co-authored-by: Alice Ryhl --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d0e8078179..95050892dfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -613,7 +613,7 @@ jobs: working-directory: tokio check-redox: - name: check that tokio compiles on redox-os target (pending addition to CI testing) + name: build tokio for redox-os needs: basics runs-on: ubuntu-latest steps: