mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -08:00
38 lines
755 B
YAML
38 lines
755 B
YAML
name: MacOS
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "*.md"
|
|
- "./site/**/*"
|
|
push:
|
|
paths-ignore:
|
|
- "*.md"
|
|
- "./site/**/*"
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
toolchain: stable
|
|
components: rustfmt, clippy
|
|
- name: Install dependencies
|
|
run: |
|
|
brew update
|
|
brew install \
|
|
pkg-config \
|
|
samba
|
|
brew link --force samba
|
|
- name: Build
|
|
run: cargo build
|
|
- name: Run tests
|
|
run: cargo test --verbose --features github-actions
|
|
- name: Clippy
|
|
run: cargo clippy -- -Dwarnings
|