Skip to content

Commit

Permalink
fix: macos ci
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Oct 18, 2024
1 parent 6fa6f09 commit 5b30a94
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt update && sudo apt install -y libssh2-1-dev libssl-dev libfuse-dev pkg-config
run: sudo apt update && sudo apt install -y libssh2-1-dev libssl-dev libfuse-dev libsmbclient-dev libsmbclient pkg-config
- name: Setup containers
run: docker compose -f "tests/docker-compose.yml" up -d --build
- uses: dtolnay/rust-toolchain@stable
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: macos

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew update && brew install macfuse samba
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run tests
run: cargo test --no-fail-fast
env:
RUST_LOG: trace
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -Dwarnings
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
src="https://github.com/remotefs-rs/remotefs-rs-fuse/workflows/linux/badge.svg"
alt="Linux CI"
/></a>
<a href="https://github.com/remotefs-rs/remotefs-rs-fuse/actions"
><img
src="https://github.com/remotefs-rs/remotefs-rs-fuse/workflows/macos/badge.svg"
alt="MacOS CI"
/></a>
<a href="https://github.com/remotefs-rs/remotefs-rs-fuse/actions"
><img
src="https://github.com/remotefs-rs/remotefs-rs-fuse/workflows/windows/badge.svg"
Expand Down

0 comments on commit 5b30a94

Please sign in to comment.