make 'simd' an optional feature (#20) #1
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: stable | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
stable: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
- name: Run sccache stat for check before | |
shell: bash | |
run: ${SCCACHE_PATH} --show-stats | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: cargo build | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
run: | | |
cargo build --release --all-targets | |
- name: cargo test | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
run: | | |
cargo test --release | |
- name: Run sccache stat for check after | |
shell: bash | |
run: ${SCCACHE_PATH} --show-stats |