File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
- uses : dtolnay/rust-toolchain@stable
18
+ - if : ${{ contains(matrix.os, 'ubuntu') }}
19
+ run : |
20
+ sudo apt-get update -y
21
+ sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
18
22
- run : cargo check
19
23
20
24
test :
26
30
steps :
27
31
- uses : actions/checkout@v4
28
32
- uses : dtolnay/rust-toolchain@stable
33
+ - if : ${{ contains(matrix.os, 'ubuntu') }}
34
+ run : |
35
+ sudo apt-get update -y
36
+ sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
29
37
- run : cargo test --all
30
38
31
39
fmt :
71
79
uses : dtolnay/rust-toolchain@nightly
72
80
with :
73
81
components : llvm-tools-preview
82
+ - if : ${{ contains(matrix.job.os, 'ubuntu') }}
83
+ run : |
84
+ sudo apt-get update -y
85
+ sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
74
86
- name : Test
75
87
run : cargo test --no-fail-fast
76
88
env :
Original file line number Diff line number Diff line change 81
81
- uses : Swatinem/rust-cache@v2
82
82
- name : Run sccache-cache
83
83
uses :
mozilla-actions/[email protected]
84
+ - if : ${{ contains(matrix.job.os, 'ubuntu') }}
85
+ run : |
86
+ sudo apt-get update -y
87
+ sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
84
88
- name : Initialize workflow variables
85
89
id : vars
86
90
shell : bash
You can’t perform that action at this time.
0 commit comments