Skip to content

Commit

Permalink
chore: linux and macos test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Aug 21, 2024
1 parent 06aabac commit 01d2f07
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 24 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-on-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Linux tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: Install deps
run: sudo apt-get install -y libsmbclient-dev
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
27 changes: 27 additions & 0 deletions .github/workflows/test-on-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: macOS tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
os: [macos-latest]

steps:
- name: Install deps
run: brew install libsmbclient
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
24 changes: 0 additions & 24 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 01d2f07

Please sign in to comment.