Merge pull request #2304 from jqnatividad/2301-check-mime-type_better… #3011
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: Linux - to feature | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
concurrency: | |
group: ci-linux-to-tests-${{ github.ref }}-1 | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: apt-get update Ubuntu, libwayland-dev | |
run: | | |
sudo apt-get update | |
sudo apt-get install libwayland-dev | |
- uses: actions/checkout@v4 | |
- name: Update Rust | |
run: rustup update | |
- name: Setup Rust-cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
key: qsvto-cache | |
- name: Run tests | |
env: | |
RUSTFLAGS: -C target-feature=+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+avx2,+fma,+bmi1,+bmi2,+lzcnt,+pclmulqdq | |
run: cargo test --verbose --locked --features=to,feature_capable |