Skip to content

fix deserializing seq and CPU detection bugs #231

fix deserializing seq and CPU detection bugs

fix deserializing seq and CPU detection bugs #231

Workflow file for this run

name: 'CI'
on:
pull_request:
push:
branches:
- main
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
ci-pass:
name: CI is green
runs-on: ubuntu-latest
needs:
- test-linux
- test-linux-aarch64
- test-macos
- test-windows
- clippy_lint
# - check-spelling
steps:
- run: exit 0
test-linux:
runs-on: [self-hosted, X64]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- name: Run tests
run: |
cargo test
./scripts/run_examples.sh
test-linux-aarch64:
runs-on: [self-hosted, arm]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v1
- name: Run tests
run: |
cargo test
./scripts/run_examples.sh
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- name: Run tests
run: |
cargo test
./scripts/run_examples.sh
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- name: Run tests
run: |
./scripts/run_examples.sh
clippy_lint:
runs-on: [self-hosted, X64]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Format check
run: |
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt -- --check
# check-spelling:
# name: Check spelling
# runs-on: ubuntu-latest
# steps:
# - name: Check spelling
# uses: crate-ci/typos@master
# with:
# files: ./*
# config: ./_typos.toml