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:
parent
1362e72707
commit
42bcc8db6f
1 changed files with 17 additions and 3 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue