This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
77 lines (58 loc) · 2.01 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
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
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
ci:
name: CI (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: test (netlink-sys)
run: |
cargo test -p netlink-sys
cargo test -p netlink-sys --features tokio_socket
- name: test (netlink-packet-audit)
run: cargo test -p netlink-packet-audit
- name: test (netlink-packet-core)
run: cargo test -p netlink-packet-core
- name: test (netlink-packet-generic)
run: cargo test -p netlink-packet-generic
- name: test (netlink-packet-netfilter)
run: cargo test -p netlink-packet-netfilter
- name: test (netlink-packet-route)
run: |
cargo test -p netlink-packet-route
cargo test -p netlink-packet-route --features rich_nlas
- name: test (netlink-packet-sock-diag)
run: cargo test -p netlink-packet-sock-diag
- name: test (netlink-packet-utils)
run: cargo test -p netlink-packet-utils
- name: test (netlink-packet-wireguard)
run: cargo test -p netlink-packet-wireguard
- name: test (netlink-proto)
run: cargo test -p netlink-proto
- name: test (rtnetlink)
env:
# Needed for the `link::test::create_get_delete_w` test to pass.
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: "sudo -E"
run: cargo test -p rtnetlink
- name: test (audit)
run: cargo test -p audit
- name: test (genetlink)
run: cargo test -p genetlink --features tokio_socket
- name: test (ethtool)
run: cargo test -p ethtool
- name: test (mptcp-pm)
env:
# Needed root permission to modify MPTCP
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: "sudo -E"
run: cargo test -p mptcp-pm