File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v4
1717 - 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
1822 - run : cargo check
1923
2024 test :
2630 steps :
2731 - uses : actions/checkout@v4
2832 - 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
2937 - run : cargo test --all
3038
3139 fmt :
7179 uses : dtolnay/rust-toolchain@nightly
7280 with :
7381 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
7486 - name : Test
7587 run : cargo test --no-fail-fast
7688 env :
Original file line number Diff line number Diff line change 8181 - uses : Swatinem/rust-cache@v2
8282 - name : Run sccache-cache
8383 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
8488 - name : Initialize workflow variables
8589 id : vars
8690 shell : bash
You can’t perform that action at this time.
0 commit comments