Skip to content

Add component-init project to this repo #252

Add component-init project to this repo

Add component-init project to this repo #252

Workflow file for this run

name: CI
on: pull_request
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
build:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- build: x86_64-linux
os: ubuntu-latest
- build: x86_64-macos
os: macos-latest
target: x86_64-apple-darwin
- build: aarch64-macos
os: macos-latest
target: aarch64-apple-darwin
- build: x86_64-windows
os: windows-latest
- build: x86_64-mingw
os: windows-latest
target: x86_64-pc-windows-gnu
- build: aarch64-linux
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
- build: s390x-linux
os: ubuntu-latest
target: s390x-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup update stable --no-self-update
- run: rustup target add wasm32-wasip2
- name: Build
run: cargo build --verbose --workspace
- name: Run tests
run: cargo test --verbose --workspace
- name: Checking benches
run : cargo check --benches
check_fuzz:
name: Checking fuzz
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo install cargo-fuzz
- run: cargo fuzz build --dev -s none
rustfmt:
name: Checking format and docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup update stable --no-self-update
- run: rustup default stable
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
- run: cargo doc