2022-01-22 13:49:07 -08:00
|
|
|
version: 2.1
|
|
|
|
|
jobs:
|
|
|
|
|
test-arm:
|
|
|
|
|
machine:
|
|
|
|
|
image: ubuntu-2004:202101-01
|
|
|
|
|
resource_class: arm.medium
|
2022-01-30 10:07:31 -08:00
|
|
|
environment:
|
2022-06-15 12:06:50 -04:00
|
|
|
# Change to pin rust version
|
2022-01-30 10:07:31 -08:00
|
|
|
RUST_STABLE: stable
|
2022-01-22 13:49:07 -08:00
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run:
|
|
|
|
|
name: Install Rust
|
|
|
|
|
command: |
|
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup.sh
|
|
|
|
|
chmod +x rustup.sh
|
2022-01-30 10:07:31 -08:00
|
|
|
./rustup.sh -y --default-toolchain $RUST_STABLE
|
2022-01-22 13:49:07 -08:00
|
|
|
source "$HOME"/.cargo/env
|
|
|
|
|
# Only run Tokio tests
|
|
|
|
|
- run: cargo test --all-features -p tokio
|
|
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
|
ci:
|
|
|
|
|
jobs:
|
2022-09-26 10:41:35 +02:00
|
|
|
- test-arm
|