Skip to content

Commit

Permalink
chore(ci): install libfuse on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Jan 30, 2025
1 parent daa4a87 commit c1e1c91
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/actions/install-fuse/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Install Ubuntu Dependencies
description: "Installs dependencies on Ubuntu"

runs:
using: "composite"
steps:
- name: Update apt-get
shell: bash
run: sudo apt-get update

- name: Install FUSE libraries
shell: bash
run: sudo apt-get install -y libfuse3-dev libfuse-dev

- name: Allow non-root users to mount FUSE filesystems
shell: bash
run: echo "user_allow_other" | sudo tee -a /etc/fuse.conf
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
NO_STAGES_SHRINKING: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-fuse
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --verbose --workspace --locked
- run: cargo test --verbose --workspace
Expand All @@ -26,6 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-fuse
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --verbose --manifest-path=benchtop/Cargo.toml --locked
loom_rw_pass_cell:
Expand All @@ -43,6 +45,7 @@ jobs:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-fuse
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc --verbose --workspace --document-private-items
fmt:
Expand Down

0 comments on commit c1e1c91

Please sign in to comment.