summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d15b7eec..6d5c4db4 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -52,12 +52,11 @@ task:
# Use cross for QEMU-based testing
# cross needs to execute Docker, so we must use Cirrus's Docker Builder task.
-docker_builder:
+task:
env:
RUST_TEST_THREADS: 1 # QEMU works best with 1 thread
HOME: /tmp/home
PATH: $HOME/.cargo/bin:$PATH
- #cpu: 1 docker_builder doesn't support "cpu"?
matrix:
- name: Linux aarch64
env:
@@ -89,6 +88,12 @@ docker_builder:
- name: Linux powerpc64le
env:
TARGET: powerpc64le-unknown-linux-gnu
+ compute_engine_instance:
+ image_project: cirrus-images
+ image: family/docker-builder
+ platform: linux
+ cpu: 1 # Since QEMU will only use 1 thread
+ memory: 4G
setup_script:
- mkdir /tmp/home
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs