Skip to content

Fix parse_skipped for parsing zeroes #146

Fix parse_skipped for parsing zeroes

Fix parse_skipped for parsing zeroes #146

Workflow file for this run

name: Rust
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt -- --check
x86:
strategy:
matrix:
rustflags:
- ''
- '-C target-feature=+sse2,+sse3,+sse4.1,+ssse3'
- '-C target-feature=+sse2,+sse3,+sse4.1,+ssse3,+avx,+avx2'
runs-on: ubuntu-latest
env:
RUSTFLAGS: ${{ matrix.rustflags }}
steps:
- uses: actions/checkout@v3
- name: Prepare
# gcc-multilib is needed for i686
run: sudo apt-get update && sudo apt-get install -y gcc-multilib && rm -f .cargo/config.toml
- name: Rust Version
run: rustc -V
- name: Server AVX2 compatibility
run: rustc --print=cfg -C target-cpu=native | grep avx2 || exit 1
- name: Cargo check
run: cargo check --verbose
- name: Clippy
run: cargo clippy --verbose -- -Dwarnings
- name: Std
run: cargo test --verbose
- name: No Std
run: cargo test --no-default-features --verbose
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# target: i686-unknown-linux-gnu
# override: true
- name: Install i686 target
run: rustup target add i686-unknown-linux-gnu
- name: i686 (32 bits)
run: cargo test --target=i686-unknown-linux-gnu --verbose
arm:
runs-on: ubuntu-latest
env:
RUSTFLAGS: '-C target-feature=+neon'
steps:
- uses: actions/checkout@v3
- name: Prepare
run: rm -f .cargo/config.toml
- uses: pguyot/arm-runner-action@v2
with:
cpu: cortex-a53
cpu_info: cpuinfo/raspberrypi_zero2_w_arm64
base_image: raspios_lite_arm64:latest
image_additional_mb: 1024
commands: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile=minimal -y
. "$HOME/.cargo/env"
rustc --print=cfg -C target-cpu=native | grep neon || exit 1
cargo check --verbose
cargo test --verbose
cargo test --no-default-features --verbose