(cargo-release) version 0.13.8 #2
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: Tests - Nightly | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-nightly: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-latest | |
rustflags: | |
- '' | |
- '-C target-feature=-avx2' | |
- '-C target-feature=-avx2,-pclmulqdq' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
# with: | |
# components: miri | |
- name: Run tests (alloc) | |
env: | |
RUSTFLAGS: ${{ matrix.rustflags }} | |
run: cargo test --features alloc | |
- name: Run tests | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test | |
- name: Run tests (no-default-features) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test | |
- name: Run tests (value-no-dup-keys) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test --features value-no-dup-keys | |
- name: Run tests (known-key) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test --features known-key | |
- name: Run tests (128bit) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test --features 128bit | |
- name: Run tests (beef) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test --features beef | |
- name: Run tests (arraybackend) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test --features arraybackend | |
- name: Run tests (approx-number-parsing) | |
env: | |
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}" | |
run: cargo test --features approx-number-parsing | |
# we can't use miri any more, something broke. | |
# - name: Run miri | |
# env: | |
# RUSTFLAGS: ${{ matrix.rustflags }} | |
# run: cargo miri test ${{ matrix.features }} | |