Skip to content

Rewrite to significantly improve performance and remove dashmap #16

Rewrite to significantly improve performance and remove dashmap

Rewrite to significantly improve performance and remove dashmap #16

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
check:
name: Compile check
runs-on: macOS-latest
strategy:
matrix:
target: [x86_64-apple-darwin, aarch64-apple-darwin, aarch64-apple-ios]
features-flags: ["", "-Flog"]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: ${{ matrix.target }}
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --target ${{ matrix.target }} ${{ matrix.feature-flags }}
test:
name: Test Suite
runs-on: macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
lints:
name: Lints
runs-on: macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings