Skip to content

release 0.7.0

release 0.7.0 #287

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Test
run: cargo run --package io-uring-test --features io-uring-test/ci --target ${{ matrix.target }}
check-bench:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Bench
run: cargo bench --package io-uring-bench
check-vendor:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- stable
- "1.63"
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
components: clippy
override: true
- name: Lint
run: cargo clippy --target ${{ matrix.target }}
check-other:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- stable
- "1.63"
target:
- i686-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
components: clippy
override: true
- name: Lint
env:
RUSTFLAGS: --cfg=io_uring_skip_arch_check
run: cargo clippy --target ${{ matrix.target }}
check-own:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- stable
target:
- x86_64-unknown-linux-gnu
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
components: clippy
override: true
- name: Lint
env:
RUSTFLAGS: --cfg=io_uring_use_own_sys
IO_URING_OWN_SYS_BINDING: sys_x86-64.rs
run: cargo check --target ${{ matrix.target }}
fmt:
name: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: "rustfmt --check"
run: |
if ! rustfmt --check --edition 2018 $(find . -name '*.rs' -print); then
printf "Please run \`rustfmt --edition 2018 \$(find . -name '*.rs' -print)\` to fix rustfmt errors.\n" >&2
exit 1
fi