1
0
Fork 0

Use the parallel bundle build on the CI

This commit is contained in:
Robbert van der Helm 2022-03-08 18:03:22 +01:00
parent ae9730ece4
commit e7e38990b4

View file

@ -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"