Skip to content

refactor: use vld1q_dup_u32 in aarch64 impl, remove buildjet from CI #60

refactor: use vld1q_dup_u32 in aarch64 impl, remove buildjet from CI

refactor: use vld1q_dup_u32 in aarch64 impl, remove buildjet from CI #60

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
test_release:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release
- name: Test
run: cargo test --release -- --nocapture
test_wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Install wasmtime
run: |
curl https://wasmtime.dev/install.sh -sSf | bash
echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
- name: Install cargo-wasi
run: cargo install cargo-wasi
- name: Test without SIMD
run: cargo wasi test --release -- --nocapture
- name: Test with SIMD
run: |
rustup install nightly
RUSTFLAGS="-C target-feature=+simd128" cargo +nightly wasi test --release -- --nocapture
test_aarch64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu18.04
# Not required, but speeds up builds
githubToken: ${{ github.token }}
install: |
apt-get update
apt-get install curl llvm clang -y
curl https://sh.rustup.rs -sSf | bash -s -- -y
run: |
source "$HOME/.cargo/env"
cargo build --release
cargo test --release -- --nocapture
lint:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Rustfmt
run: cargo fmt --check --verbose
- name: Clippy
run: cargo clippy --verbose --all-features -- -Dwarnings