mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-10-01 13:54:53 +02:00
Only run Clippy on Ubuntu
This commit is contained in:
@@ -63,10 +63,12 @@ jobs:
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- if: runner.os == 'Windows'
|
||||
name: Set VCPKG root
|
||||
run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||
- if: runner.os == 'Windows'
|
||||
name: Install OpenSSL for Windows
|
||||
run: vcpkg install openssl:x64-windows-static-md
|
||||
- if: matrix.rust == 'stable' && matrix.args == '--all-features'
|
||||
- if: matrix.rust == 'stable' && matrix.args == '--all-features' && matrix.os == 'ubuntu-latest'
|
||||
run: cargo clippy ${{ matrix.args }} -- -D warnings
|
||||
- run: cargo build ${{ matrix.args }} --locked
|
||||
- run: cargo test ${{ matrix.args }} -- --test-threads=1 2>&1
|
||||
|
||||
Reference in New Issue
Block a user