-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (48 loc) · 1.09 KB
/
main.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
{
"name": "Main",
"on": [
"push",
"pull_request"
],
"jobs": {
"tests": {
"name": "Tests",
"strategy": {
"matrix": {
"os": [
"macos-latest",
"windows-latest",
"ubuntu-latest"
]
}
},
"runs-on": "${{ matrix.os }}",
"steps": [
{
"name": "Setup | Checkout",
"uses": "actions/checkout@v3"
},
{
"name": "Setup | Install Dependencies",
"if": "matrix.os == 'ubuntu-latest'",
"env": {
"DEBIAN_FRONTEND": "noninteractive"
},
"run": "sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential pkg-config libasound2-dev"
},
{
"name": "Setup | Rust",
"run": "rustup update && rustup component add clippy"
},
{
"name": "Test | Clippy",
"run": "cargo clippy --features midir"
},
{
"name": "Test | Test",
"run": "cargo test --features midir"
}
]
}
}
}