-
Notifications
You must be signed in to change notification settings - Fork 11
97 lines (85 loc) · 2.19 KB
/
rust.yml
File metadata and controls
97 lines (85 loc) · 2.19 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
on:
workflow_dispatch:
push:
branches:
- master
- 'v**-dev'
pull_request:
name: Continuous integration
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
security:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: EmbarkStudios/cargo-deny-action@v2
msrv:
name: MSRV Check (1.89)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@1.89
- uses: Swatinem/rust-cache@v2
- name: Check workspace compiles on MSRV
run: cargo check --workspace --all-features
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --workspace --all-features --no-deps
verify-groups:
name: Verify Test Groups
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: pip install pyyaml
- name: Verify group config and hardcoded matrix
run: python .github/scripts/ci_config.py verify-groups
test-ubuntu:
name: Ubuntu
uses: ./.github/workflows/build-and-test.yml
with:
os: ubuntu-latest
coverage: true
secrets: inherit
test-ubuntu-arm:
name: Ubuntu ARM
uses: ./.github/workflows/build-and-test.yml
with:
os: ubuntu-22.04-arm
test-macos:
name: macOS
uses: ./.github/workflows/build-and-test.yml
with:
os: macos-latest
test-windows:
name: Windows
uses: ./.github/workflows/build-and-test.yml
with:
os: windows-latest
integrations_tests:
name: Integration Tests
if: ${{ false }} # Temporarily disabled
runs-on: ubuntu-22.04-arm
strategy:
matrix:
rust: [stable]
dashversion: ["22.1.3"]
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- name: Running test script
env:
DASHVERSION: ${{ matrix.dashversion }}
run: ./contrib/test-rpc.sh