-
Notifications
You must be signed in to change notification settings - Fork 28
47 lines (47 loc) · 1.26 KB
/
bvt.yaml
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
name: BVT
on: [pull_request]
jobs:
bvt:
name: BVT (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
rustup target add x86_64-unknown-linux-musl
rustup component add rustfmt clippy
- name: Format Check
run: make fmt
- name: Clippy Check
run: make clippy
- name: Build
run: make tokio_vsock
- name: Build all features
run: make tokio_vsock_all_features
- name: Build test_server
run: make test_server
bvt-nightly:
name: BVT (nightly)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
rustup default nightly
rustup target add x86_64-unknown-linux-musl
rustup component add rustfmt clippy
- name: Format Check
run: make fmt
- name: Clippy Check
run: make clippy
- name: Build
run: make tokio_vsock
- name: Build all features
run: make tokio_vsock_all_features
- name: Build test_server
run: make test_server
- name: Build (min-deps)
run: |
# we need to select the minimum dependencies so remove previously selected versions
rm Cargo.lock
make tokio_vsock_min_deps