Skip to content

restrict nightly SIMD features from coverage/test CI actions #91

restrict nightly SIMD features from coverage/test CI actions

restrict nightly SIMD features from coverage/test CI actions #91

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update rust
run: rustup update
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --features=translation,extra_codecs --verbose
coverage:
name: Coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: Swatinem/rust-cache@v2
- run: cargo llvm-cov --features=translation,extra_codecs --workspace --lcov --output-path lcov.info
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true