diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 908dbf2d..0f8c91a8 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -145,8 +145,11 @@ jobs: if [[ "${{ runner.os }}" == "Linux" ]]; then pip3 install "maturin[zig]" + ## The CI/CD is sequential to limit the number of workers used. + + # x86_64-unknown-linux-gnu maturin publish --skip-existing --zig - + # aarch64-unknown-linux-gnu rustup target add aarch64-unknown-linux-gnu maturin publish --target aarch64-unknown-linux-gnu --zig diff --git a/.github/workflows/node_hub_test.sh b/.github/workflows/node_hub_test.sh index 9ffd1d8e..9bda798a 100755 --- a/.github/workflows/node_hub_test.sh +++ b/.github/workflows/node_hub_test.sh @@ -20,6 +20,14 @@ else cargo clippy cargo build cargo test + + # aarch64-unknown-linux-gnu + rustup target add aarch64-unknown-linux-gnu + cargo check --target aarch64-unknown-linux-gnu + + # armv7-unknown-linux-musleabihf + rustup target add armv7-unknown-linux-musleabihf + cargo check --target armv7-unknown-linux-musleabihf else if [ -f "$dir/pyproject.toml" ]; then echo "Running linting and tests for Python project in $dir..."