Skip to content

Commit

Permalink
CI: reorganize overlayfs CI
Browse files Browse the repository at this point in the history
Fix some CI complaint and reorganize CI workflows.

Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com>
  • Loading branch information
WeiZhang555 committed Nov 16, 2023
1 parent 50c88b6 commit f5ba6ee
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 142 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/xfstests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
profile: minimal
toolchain: stable
override: true
- name: Build and testoverlay binary
- name: Build overlay binary
run: |
cd tests/testoverlay
cd tests/overlay
cargo build --release
sudo install -t /usr/sbin/ -m 700 ./target/release/testoverlay
sudo install -t /usr/sbin/ -m 700 ./target/release/overlay
- name: Setup and run xfstest
run: |
cd $GITHUB_WORKSPACE
sudo ./tests/scripts/xfstests.sh
sudo ./tests/scripts/xfstests_overlay.sh
2 changes: 2 additions & 0 deletions src/api/filesystem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ pub use async_io::{AsyncFileSystem, AsyncZeroCopyReader, AsyncZeroCopyWriter};
mod sync_io;
pub use sync_io::FileSystem;

#[cfg(all(any(feature = "fusedev", feature = "virtiofs"), target_os = "linux"))]
mod overlay;
#[cfg(all(any(feature = "fusedev", feature = "virtiofs"), target_os = "linux"))]
pub use overlay::Layer;

/// Information about a path in the filesystem.
Expand Down
Loading

0 comments on commit f5ba6ee

Please sign in to comment.