Skip to content

feat(network): support the turmoil transport #556

feat(network): support the turmoil transport

feat(network): support the turmoil transport #556

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
MIRIFLAGS: -Zmiri-strict-provenance
RUST_BACKTRACE: 1
RUST_LOG: elfo
MSRV: 1.76.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup show active-toolchain -v
- run: cargo build --all-targets --all-features
msrv:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "" # remove -Dwarnings
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install ${{ env.MSRV }} --profile minimal
- run: rustup override set ${{ env.MSRV }}
- run: rustup show active-toolchain -v
- run: cargo build
- run: cargo build --all-features
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup show active-toolchain -v
- run: rustup component add rustfmt
- run: cargo fmt --version
- run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup show active-toolchain -v
- run: rustup component add clippy
- run: cargo clippy --version
- run: cargo clippy
- run: cargo clippy --all-targets --all-features
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup show active-toolchain -v
- run: cargo test
- run: cargo test --all-features
miri:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly --component miri
- run: rustup override set nightly
- run: rustup show active-toolchain -v
- run: cargo miri setup
- run: cargo miri test -p elfo-core --all-features -- _miri
docs:
needs: build
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings --cfg docsrs
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly
- run: rustup override set nightly
- run: rustup show active-toolchain -v
- run: cargo doc --all-features