1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 11:47:46 +00:00

Add libunshield to the CI, make sure to enable all features when building

This commit is contained in:
Joshua Goins 2024-04-28 07:40:11 -04:00
parent 1362e72707
commit 42bcc8db6f

View file

@ -23,12 +23,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install \
libunshield-dev \
- name: Build
run: cargo build --verbose
run: cargo build --all-features --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --all-features --verbose
- name: Run clippy
run: cargo clippy
run: cargo clippy --all-features
- name: Run deny-check
run: |
cargo install --locked cargo-deny