diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 4e3d5da8cb5..00000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: 2.1 -jobs: - test-arm: - machine: - image: default - resource_class: arm.medium - environment: - # Change to pin rust version - RUST_STABLE: stable - steps: - - checkout - - run: - name: Install Rust - command: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup.sh - chmod +x rustup.sh - ./rustup.sh -y --default-toolchain $RUST_STABLE - source "$HOME"/.cargo/env - # Only run Tokio tests - - run: cargo test --all-features -p tokio - -workflows: - ci: - jobs: - - test-arm diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a3970cbbb9..a867a6e105f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -532,15 +532,19 @@ jobs: cross-test-with-parking_lot: needs: basics - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: include: - target: i686-unknown-linux-gnu + os: ubuntu-latest rustflags: --cfg tokio_taskdump - target: armv5te-unknown-linux-gnueabi + os: ubuntu-latest - target: armv7-unknown-linux-gnueabihf + os: ubuntu-22.04-arm # TODO: update to 24.04 when https://github.com/rust-lang/rust/issues/135867 solved - target: aarch64-unknown-linux-gnu + os: ubuntu-22.04-arm # TODO: update to 24.04 when https://github.com/rust-lang/rust/issues/135867 solved rustflags: --cfg tokio_taskdump steps: - uses: actions/checkout@v4 @@ -572,15 +576,19 @@ jobs: cross-test-without-parking_lot: needs: basics - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: include: - target: i686-unknown-linux-gnu + os: ubuntu-latest rustflags: --cfg tokio_taskdump - target: armv5te-unknown-linux-gnueabi + os: ubuntu-latest - target: armv7-unknown-linux-gnueabihf + os: ubuntu-22.04-arm # TODO: update to 24.04 when https://github.com/rust-lang/rust/issues/135867 solved - target: aarch64-unknown-linux-gnu + os: ubuntu-22.04-arm # TODO: update to 24.04 when https://github.com/rust-lang/rust/issues/135867 solved rustflags: --cfg tokio_taskdump steps: - uses: actions/checkout@v4