Skip to content

Commit

Permalink
chore, ci: install libblockdev-loop-dev and build-essential in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 2, 2024
1 parent 3f99aba commit b18fe69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
# Since this crate creates a new chroot, it needs to be run in a privileged container
options: --privileged
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y libblockdev-loop-dev build-essential
- name: Checkout code
uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ license = "MIT"

[dependencies]
nix = { version = "0.27.1", features = ["fs", "env", "dir", "user", "mount", "sched"] }
sys-mount = "3.0.1"
sys-mount = "3"
tracing = "0.1.37"

0 comments on commit b18fe69

Please sign in to comment.