From e4b591d7a947575b41ec88bf9f24bc6c04baeb66 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Fri, 28 Apr 2023 01:19:28 +0200 Subject: [PATCH] Parallellise CI build --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index 47d045a..978cc26 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,8 @@ steps: - rustup target add x86_64-unknown-linux-gnu - cargo build --target=x86_64-unknown-linux-gnu --release -j2 --config target.x86_64-unknown-linux-gnu.linker=\"x86_64-linux-gnu-gcc\" - x86_64-linux-gnu-strip target/x86_64-unknown-linux-gnu/release/empede + when: + event: tag - name: build-aarch64-unknown-linux-gnu image: rust:latest @@ -40,6 +42,9 @@ steps: - mkdir empede-aarch64-unknown-linux-gnu - cp -r target/release/empede static/ README.md empede-aarch64-unknown-linux-gnu - tar czf empede-aarch64-unknown-linux-gnu.tar.gz empede-aarch64-unknown-linux-gnu/ + depends_on: + - build-x86_64-unknown-linux-gnu + - build-aarch64-unknown-linux-gnu when: event: tag @@ -52,6 +57,8 @@ steps: files: - empede-x86_64-unknown-linux-gnu.tar.gz - empede-aarch64-unknown-linux-gnu.tar.gz + depends_on: + - package when: event: tag