Skip to content

Add build cfg for FUSE mounting implementation to fuser #3

Add build cfg for FUSE mounting implementation to fuser

Add build cfg for FUSE mounting implementation to fuser #3

Workflow file for this run

name: CI
on:
pull_request:
push: # required for actions/cache to work
branches:
- master
jobs:
compile:
runs-on: ubuntu-22.04
strategy:
matrix:
libfuse: [libfuse-dev, libfuse3-dev]
features: [ '', 'abi-7-19' ]
steps:
- uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt update
sudo apt install -y ${{ matrix.libfuse }} build-essential
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: x86_64-unknown-linux-musl
- name: Run tests
run: |
cargo build --all --all-targets --features=${{ matrix.features }}
cargo build --all --all-targets --no-default-features
cargo build --target=x86_64-unknown-linux-musl --no-default-features
cargo test --all --features=${{ matrix.features }}
cargo doc --all --no-deps --features=${{ matrix.features }}
ci:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt update
sudo apt install -y libfuse-dev libfuse3-dev build-essential
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Run tests
run: INTERACTIVE="" make pre
test:
runs-on: ubuntu-22.04
strategy:
matrix:
test_group: [mount_tests, pjdfs_tests, xfstests]
steps:
- uses: actions/checkout@v4
- name: Run tests
run: INTERACTIVE="" make ${{ matrix.test_group }}