diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index f0c9029..a0954d3 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -26,8 +26,8 @@ jobs: - run: rustup target add aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu powerpc-unknown-linux-gnu - run: RUSTFLAGS="-C target-feature=+neon" cargo build --all-features --target aarch64-unknown-linux-gnu - run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target i686-unknown-linux-gnu - - run: RUSTFLAGS="-C target-feature=+avx2" cargo build --all-features --target i686-unknown-linux-gnu - - run: cargo build --target powerpc-unknown-linux-gnu + - run: RUSTFLAGS="-C target-feature=+avx2" cargo build --no-default-features--target i686-unknown-linux-gnu + - run: cargo build --target powerpc-unknown-linux-gnu --no-default-features - run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target x86_64-unknown-linux-gnu - run: RUSTFLAGS="-C target-feature=+avx2" cargo build --all-features --target x86_64-unknown-linux-gnu - name: Test release pipeline diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 7d1ab25..982ea43 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -20,8 +20,8 @@ jobs: - run: rustup target add aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu powerpc-unknown-linux-gnu - run: RUSTFLAGS="-C target-feature=+neon" cargo build --all-features --target aarch64-unknown-linux-gnu - run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target i686-unknown-linux-gnu - - run: cargo build --target powerpc-unknown-linux-gnu --all-features - - run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --all-features --target x86_64-unknown-linux-gnu + - run: cargo build --target powerpc-unknown-linux-gnu --no-default-features + - run: RUSTFLAGS="-C target-feature=+sse4.1" cargo build --no-default-features --target x86_64-unknown-linux-gnu - name: Make a release env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 7d5db91..bd9fe6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,5 +22,5 @@ num-traits = "0.2.19" rayon = { version = "1.10.0", optional = true } [features] -default = [] +default = ["rayon"] rayon = ["dep:rayon"]