Skip to content

Commit

Permalink
ci: Cirrus CI no longer supports 32-bit mode on ARM Linux runners
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 17, 2023
1 parent dfafb46 commit 041f6f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,6 @@ aarch64_linux_task:
- cargo test --all --all-features --exclude benchmarks -- --test-threads=1
- cargo test --all --all-features --exclude benchmarks --release -- --test-threads=1

arm_linux_task:
name: test ($TARGET)
env:
TARGET: armv7-unknown-linux-gnueabihf
arm_container:
image: rust:latest
setup_script:
- rustup toolchain add nightly --no-self-update --component rust-src && rustup default nightly
- rustup target add "$TARGET"
- dpkg --add-architecture armhf
- apt-get -o Acquire::Retries=10 -qq update && apt-get -o Acquire::Retries=10 -qq install -y --no-install-recommends gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf
test_script:
- export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc
- cargo test --all --all-features --exclude benchmarks --target "$TARGET" -Z doctest-xcompile -- --test-threads=1
- cargo test --all --all-features --exclude benchmarks --target "$TARGET" -Z doctest-xcompile --release -- --test-threads=1

macos_task:
name: test ($TARGET)
macos_instance:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# aarch64/x86_64 macOS and aarch64/arm linux are tested on Cirrus CI
# aarch64/x86_64 macOS and aarch64 Linux are tested on Cirrus CI
include:
- rust: '1.38'
os: ubuntu-latest
Expand All @@ -55,6 +55,9 @@ jobs:
- rust: nightly
os: ubuntu-latest
target: i686-unknown-linux-gnu
- rust: nightly
os: ubuntu-latest
target: armv7-unknown-linux-gnueabihf
# Test 32-bit target that does not have AtomicU64/AtomicI64.
- rust: nightly
os: ubuntu-latest
Expand Down

0 comments on commit 041f6f2

Please sign in to comment.