mirror of
https://github.com/uutils/procps.git
synced 2026-06-10 16:14:00 -07:00
ci: install libsystemd-dev on ubuntu
This commit is contained in:
@@ -15,6 +15,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- if: ${{ contains(matrix.os, 'ubuntu') }}
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
|
||||
- run: cargo check
|
||||
|
||||
test:
|
||||
@@ -26,6 +30,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- if: ${{ contains(matrix.os, 'ubuntu') }}
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
|
||||
- run: cargo test --all
|
||||
|
||||
fmt:
|
||||
@@ -71,6 +79,10 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
components: llvm-tools-preview
|
||||
- if: ${{ contains(matrix.job.os, 'ubuntu') }}
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
|
||||
- name: Test
|
||||
run: cargo test --no-fail-fast
|
||||
env:
|
||||
|
||||
@@ -81,6 +81,10 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Run sccache-cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.7
|
||||
- if: ${{ contains(matrix.job.os, 'ubuntu') }}
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get -yq --no-install-suggests --no-install-recommends install libsystemd-dev
|
||||
- name: Initialize workflow variables
|
||||
id: vars
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user