Use the parallel bundle build on the CI
This commit is contained in:
parent
ae9730ece4
commit
e7e38990b4
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -107,11 +107,14 @@ jobs:
|
||||||
# Instead of hardcoding which targets to build and package, we'll
|
# Instead of hardcoding which targets to build and package, we'll
|
||||||
# package everything that's got en entry in the `bundler.toml` file
|
# package everything that's got en entry in the `bundler.toml` file
|
||||||
run: |
|
run: |
|
||||||
packages=$(cargo xtask known-packages)
|
# Building can be sped up by specifying all packages in one go
|
||||||
for package in $packages; do
|
package_args=()
|
||||||
cargo xtask bundle "$package" --release
|
for package in $(cargo xtask known-packages); do
|
||||||
|
package_args+=("-p" "$package")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cargo xtask bundle "${package_args[@]}" --release
|
||||||
|
|
||||||
- name: Determine build archive name
|
- name: Determine build archive name
|
||||||
run: |
|
run: |
|
||||||
echo "ARCHIVE_NAME=nih-plugs-$(git describe --always)-${{ matrix.os }}" >> "$GITHUB_ENV"
|
echo "ARCHIVE_NAME=nih-plugs-$(git describe --always)-${{ matrix.os }}" >> "$GITHUB_ENV"
|
||||||
|
|
Loading…
Reference in a new issue