Skip to content

feat: add fast update behind a feature flag #117

feat: add fast update behind a feature flag

feat: add fast update behind a feature flag #117

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
schedule:
- cron: '45 4 * * 3'
env:
RUSTFLAGS: -Dwarnings
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
- run: cargo test --features diff
- run: cargo test --features fast
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --tests
- run: cargo clippy --tests --features diff
- run: cargo clippy --tests --features fast
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check
bigendian:
name: Test big-endian arch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Install cross-compilation tools
uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: s390x-unknown-linux-gnu
- run: cargo test
- run: cargo test --features diff
- run: cargo test --features fast