From e7e38990b4bcf517fddcc0bff4dd35d9479a7789 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 8 Mar 2022 18:03:22 +0100 Subject: [PATCH] Use the parallel bundle build on the CI --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42d10dea..12c2500f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -107,11 +107,14 @@ jobs: # Instead of hardcoding which targets to build and package, we'll # package everything that's got en entry in the `bundler.toml` file run: | - packages=$(cargo xtask known-packages) - for package in $packages; do - cargo xtask bundle "$package" --release + # Building can be sped up by specifying all packages in one go + package_args=() + for package in $(cargo xtask known-packages); do + package_args+=("-p" "$package") done + cargo xtask bundle "${package_args[@]}" --release + - name: Determine build archive name run: | echo "ARCHIVE_NAME=nih-plugs-$(git describe --always)-${{ matrix.os }}" >> "$GITHUB_ENV"