Enable sse2/avx2 if available #37
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 15 * *' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
main: | |
name: main ci | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {os: ubuntu, rust: stable} | |
- {os: windows, rust: stable-msvc} | |
- {os: windows, rust: stable-gnu} | |
- {os: macos, rust: stable} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Rust (${{matrix.rust}}) | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: '${{matrix.rust}}' | |
- name: Build and test | |
run: cargo test | |
- name: Build and test (all features) | |
run: cargo test --all-features |