Skip to content

libublk: fix max cmd buffer size calculation on 64K page size #231

libublk: fix max cmd buffer size calculation on 64K page size

libublk: fix max cmd buffer size calculation on 64K page size #231

Workflow file for this run

name: Cargo Build
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
target:
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
steps:
- uses: actions/checkout@v3
- name: Install dependencies
if: matrix.target == 'i686-unknown-linux-gnu'
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} && rustup target add ${{ matrix.target }}
- run: cargo build --verbose --target ${{ matrix.target }}
- run: cargo build --features=fat_complete --verbose --target ${{ matrix.target }}