From a593227c7e5238789919ed4eb842154f70369502 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 27 Aug 2021 21:06:53 -0600 Subject: Test Linux aarch64 on real aarch64 hardware. --- .cirrus.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 3a74a4a4..171172ce 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -49,9 +49,6 @@ task: HOME: /tmp/home PATH: $HOME/.cargo/bin:$PATH matrix: - - name: Linux aarch64 - env: - TARGET: aarch64-unknown-linux-gnu - name: Linux arm gnueabi env: TARGET: arm-unknown-linux-gnueabi @@ -101,25 +98,31 @@ task: task: matrix: - name: Rust Stable + container: + image: rust:latest env: TARGET: x86_64-unknown-linux-gnu - TOOLCHAIN: stable + - name: Linux aarch64 + arm_container: + image: rust:1.46 + env: + TARGET: aarch64-unknown-linux-gnu - name: Linux x86_64 + container: + image: rust:1.46 env: TARGET: x86_64-unknown-linux-gnu - TOOLCHAIN: 1.46.0 - name: Linux x86_64 musl + container: + image: rust:1.46 env: TARGET: x86_64-unknown-linux-musl - TOOLCHAIN: 1.46.0 - container: - image: rust:1.46 setup_script: - - rustup toolchain install $TOOLCHAIN - - rustup target add --toolchain $TOOLCHAIN $TARGET + - rustup target add $TARGET + - uname -a script: - - cargo +$TOOLCHAIN build --target $TARGET --all-targets - - cargo +$TOOLCHAIN test --target $TARGET + - cargo build --target $TARGET --all-targets + - cargo test --target $TARGET before_cache_script: rm -rf $CARGO_HOME/registry/index # Tasks for cross-compiling, but no testing -- cgit v1.2.3