-
Notifications
You must be signed in to change notification settings - Fork 107
66 lines (55 loc) · 1.56 KB
/
ci-unit-tests-os.patch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Multi-OS Unit Tests
on:
pull_request:
paths-ignore:
- '**/*.rs'
- '**/*.txt'
- '**/*.snap'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '**/deny.toml'
- '.cargo/config.toml'
- '**/clippy.toml'
- '.github/workflows/ci-unit-tests-os.yml'
jobs:
test:
name: Test ${{ matrix.rust }} on ${{ matrix.os }}${{ matrix.features }}
# We're just doing this job for the name, the platform doesn't matter.
# So we use the platform with the most concurrent instances.
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta]
features: [""]
exclude:
- os: macos-latest
rust: beta
steps:
- run: 'echo "No build required"'
install-from-lockfile-no-cache:
name: Install zebrad from lockfile without cache on ubuntu-latest
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
check-cargo-lock:
name: Check Cargo.lock is up to date
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
cargo-deny:
name: Check deny.toml ${{ matrix.checks }} ${{ matrix.features }}
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- bans
- sources
features: ['', '--features default-release-binaries', '--all-features']
steps:
- run: 'echo "No build required"'
unused-deps:
name: Check for unused dependencies
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'