Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,27 @@ task:
- . $HOME/.cargo/env
- cargo test --all --all-targets
before_cache_script: rm -rf $CARGO_HOME/registry/index


task:
name: Mac OS X Monterey
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock || echo ""
setup_script:
- brew install gcc curl
- brew install --cask macfuse
- curl https://sh.rustup.rs -o rustup.sh
- sh rustup.sh -y
build_script:
- . $HOME/.cargo/env
- cargo build --all --all-targets
doc_script:
- . $HOME/.cargo/env
- cargo doc --all --no-deps --all-features
test_script:
- . $HOME/.cargo/env
- cargo test --all --all-targets
before_cache_script: rm -rf $CARGO_HOME/registry/index
4 changes: 0 additions & 4 deletions fuse-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#[cfg(not(target_os = "macos"))]
const LIBFUSE_NAME: &str = "fuse";

#[cfg(target_os = "macos")]
const LIBFUSE_NAME: &str = "osxfuse";

fn main() {
pkg_config::Config::new()
.atleast_version("2.6.0")
Expand Down