Fix x86 hybrid build since rust update #221
Workflow file for this run
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
name: Build & Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_test_x86: | |
name: Build & Test X86 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Rust version | |
run: cargo rustc -- --version | |
- name: Build | |
run: cargo build --release | |
- name: Test | |
run: cargo test --release --lib | |
build_test_x86_avx2: | |
name: Build & Test X86 AVX2 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Switch to nightly rust | |
run: rustup default nightly | |
- name: Rust version | |
run: cargo rustc -- --version | |
- name: Build | |
run: cargo build --release | |
- name: Install 1.72 | |
run: rustup install 1.72 | |
- name: Build 1.72.0 | |
run: cargo +1.72 build --release | |
- name: Rust version | |
run: cargo rustc -- --version | |
- name: Test | |
run: cargo test --release --lib | |
build_test_arm: | |
name: Build & Test ARM | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Rust version | |
run: cargo rustc -- --version | |
- name: Build | |
run: cargo build --release | |
- name: Test | |
run: cargo test --release --lib |