8
8
jobs :
9
9
check :
10
10
name : Check
11
- runs-on : ubuntu-20.04
11
+ runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
14
- uses : actions-rs/toolchain@v1
@@ -23,28 +23,40 @@ jobs:
23
23
24
24
test :
25
25
name : Test Suite
26
- runs-on : ubuntu-20.04
26
+ runs-on : ubuntu-latest
27
27
steps :
28
28
- uses : actions/checkout@v4
29
- - name : Install dependencies
30
- run : |
31
- sudo apt-get install gnome-keyring dbus dbus-x11 -y
32
- gnome-keyring-daemon -d
33
29
- uses : actions-rs/toolchain@v1
34
30
with :
35
31
profile : minimal
36
32
toolchain : stable
37
33
override : true
38
- - name : Build and test
34
+ - name : Build client (async-std / native)
35
+ run : |
36
+ cargo build --manifest-path ./client/Cargo.toml --no-default-features --features async-std --features native_crypto
37
+ - name : Build client (async-std / OpenSSL)
38
+ run : |
39
+ cargo build --manifest-path ./client/Cargo.toml --no-default-features --features async-std --features openssl_crypto
40
+ - name : Build client (tokio / native)
41
+ run : |
42
+ cargo build --manifest-path ./client/Cargo.toml --no-default-features --features tokio --features native_crypto
43
+ - name : Build client (tokio / OpenSSL)
44
+ run : |
45
+ cargo build --manifest-path ./client/Cargo.toml --no-default-features --features tokio --features openssl_crypto
46
+ - name : Build CLI
47
+ run : |
48
+ cargo build --manifest-path ./cli/Cargo.toml
49
+
50
+ - name : Test (native)
39
51
run : |
40
- dbus-run-session -- cargo test --no-default-features --features async-std --features native_crypto
41
- - name : Build and test (OpenSSL)
52
+ cargo test --manifest-path ./client/Cargo.toml --no-default-features --features async-std --features native_crypto
53
+ - name : Test (OpenSSL)
42
54
run : |
43
- dbus-run-session -- cargo test --no-default-features --features async-std --features openssl_crypto
55
+ cargo test --manifest-path ./client/Cargo.toml --no-default-features --features async-std --features openssl_crypto
44
56
45
57
fmt :
46
58
name : Rustfmt
47
- runs-on : ubuntu-20.04
59
+ runs-on : ubuntu-latest
48
60
steps :
49
61
- uses : actions/checkout@v4
50
62
- uses : actions-rs/toolchain@v1
61
73
62
74
clippy :
63
75
name : Clippy
64
- runs-on : ubuntu-20.04
76
+ runs-on : ubuntu-latest
65
77
steps :
66
78
- uses : actions/checkout@v4
67
79
- uses : actions-rs/toolchain@v1
0 commit comments