ci: use filtering for all
This commit is contained in:
1 parent
ae78a8381c
commit
a858934d41
2 files changed
+23
-4
No files matched your search
@@ -1,7 +1,18 @@
|
|||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
name: macOS tests
|
name: macOS tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- packages/**
|
||||||
|
- examples/**
|
||||||
|
- src/**
|
||||||
|
- .github/**
|
||||||
|
- lib.rs
|
||||||
|
- Cargo.toml
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test Suite
|
name: Test Suite
|
||||||
|
|||||||
@@ -1,9 +1,17 @@
|
|||||||
name: windows
|
name: windows
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- packages/**
|
||||||
|
- examples/**
|
||||||
|
- src/**
|
||||||
|
- .github/**
|
||||||
|
- lib.rs
|
||||||
|
- Cargo.toml
|
||||||
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -50,7 +58,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rustc -Vv
|
rustc -Vv
|
||||||
cargo -V
|
cargo -V
|
||||||
set RUST_BACKTRACE=1
|
set RUST_BACKTRACE=1
|
||||||
cargo build --features "desktop, ssr, router"
|
cargo build --features "desktop, ssr, router"
|
||||||
cargo test --features "desktop, ssr, router"
|
cargo test --features "desktop, ssr, router"
|
||||||
shell: cmd
|
shell: cmd
|
||||||
Reference in new issue
Block a user