update changelog #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux | |
on: | |
push: | |
pull_request: | |
branches: [ "latest" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
default_features: | |
name: Default Features | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init | |
- name: Update Rust | |
run: | | |
rustup update ${{ matrix.toolchain }} | |
rustup default ${{ matrix.toolchain }} | |
rustup component add rustfmt | |
- name: Build | |
run: cargo build --verbose | |
- name: Run Tests | |
run: cargo test --verbose | |
- name: Test Formatting | |
run: cargo fmt --all -- --check | |
- name: Build Docs | |
run: cargo doc | |
- name: Build Package | |
run: cargo package --verbose | |
linux_features: | |
name: All Linux Features | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- name: Install Prereqs | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsystemd-dev | |
- uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init | |
- name: Update Rust | |
run: | | |
rustup update ${{ matrix.toolchain }} | |
rustup default ${{ matrix.toolchain }} | |
rustup component add rustfmt | |
- name: Build | |
run: cargo build --verbose --features journald,network,socket | |
- name: Run Tests | |
run: cargo test --verbose --features journald,network,socket | |
- name: Test Formatting | |
run: cargo fmt --all -- --check | |
- name: Build Docs | |
run: cargo doc --features journald,network,socket | |
- name: Build Package | |
run: cargo package --verbose --features journald,network,socket |