Skip to content

Commit

Permalink
ci: enable SIMD instructions for x86_64 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn committed May 21, 2024
1 parent 13d8e57 commit 128d486
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
target: x86_64-unknown-linux-gnu
cross: true
extra-args: "--all-features"
rustflags: "-Ctarget-feature=-3dnow,-3dnowa -Ctarget-cpu=sandybridge --cfg tokio_unstable"
- os: ubuntu-latest
target: i686-unknown-linux-gnu
cross: true
Expand All @@ -51,7 +52,7 @@ jobs:
release-name: x86_64-unknown-linux-gnu-static-crt
cross: true
extra-args: "--all-features"
rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable"
rustflags: "-Ctarget-feature=+crt-static,-3dnow,-3dnowa -Ctarget-cpu=sandybridge --cfg tokio_unstable"
- os: ubuntu-latest
target: i686-unknown-linux-gnu
release-name: i686-unknown-linux-gnu-static-crt
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
cross: false
postfix: ".exe"
extra-args: "--all-features"
rustflags: "-Ctarget-feature=-3dnow,-3dnowa -Ctarget-cpu=sandybridge --cfg tokio_unstable"
- os: windows-latest
target: i686-pc-windows-msvc
cross: false
Expand All @@ -107,7 +109,7 @@ jobs:
cross: false
postfix: ".exe"
extra-args: "--all-features"
rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable"
rustflags: "-Ctarget-feature=+crt-static,-3dnow,-3dnowa -Ctarget-cpu=sandybridge --cfg tokio_unstable"
- os: windows-latest
target: i686-pc-windows-msvc
release-name: i686-pc-windows-msvc-static-crt
Expand All @@ -120,6 +122,7 @@ jobs:
target: x86_64-apple-darwin
cross: false
extra-args: "--all-features"
rustflags: "-Ctarget-feature=-3dnow,-3dnowa -Ctarget-cpu=sandybridge --cfg tokio_unstable"
- os: macos-14
target: aarch64-apple-darwin
cross: false
Expand All @@ -130,7 +133,7 @@ jobs:
release-name: x86_64-apple-darwin-static-crt
cross: false
extra-args: "--all-features"
rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable"
rustflags: "-Ctarget-feature=+crt-static,-3dnow,-3dnowa -Ctarget-cpu=sandybridge --cfg tokio_unstable"
- os: macos-14
target: aarch64-apple-darwin
release-name: aarch64-apple-darwin-static-crt
Expand Down

0 comments on commit 128d486

Please sign in to comment.