-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix x86 hybrid build since rust 1.79 (#68)
* Fix x86 hybrid build since rust update * Try remove stdsimd * Display version * Try github macos runner * Set version to 3.2.0 * Test rustc 1.72 with hybrid * Add rust version compat check * Try use patch in v * Another test * Disable fail fast * Fix hybrid * Fix missing cpu feature * No hybrid * Workflow dispatch
- Loading branch information
Showing
4 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Rust Version Compatibility | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
|
||
build_test_x86: | ||
name: Build & Test X86 | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: ["1.65", "1.72", "1.78"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install ${{ matrix.version }} | ||
run: rustup toolchain install ${{ matrix.version }} | ||
|
||
- name: Build | ||
# RUSTFLAGS="-C target-cpu=native --cfg hybrid" | ||
run: RUSTFLAGS="-C target-cpu=native" cargo +${{ matrix.version }} build --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters