diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index ca0a9b2..f2aa3ca 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -26,4 +26,4 @@ jobs: python-version: "3.10" - name: Build project - run: cargo build --release --all-features + run: cargo build --release --features rusb,mdns diff --git a/.github/workflows/rust-quality.yml b/.github/workflows/rust-quality.yml index bfc5450..0e4124c 100644 --- a/.github/workflows/rust-quality.yml +++ b/.github/workflows/rust-quality.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - run: rustup component add clippy - name: Run clippy - run: cargo clippy --all-features + run: cargo clippy --features rusb,mdns fmt: name: "fmt" @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run doc - run: cargo doc --all-features --no-deps + run: cargo doc --features rusb,mdns --no-deps env: RUSTDOCFLAGS: "-D warnings" @@ -43,4 +43,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run tests - run: cargo test --verbose --all-features + run: cargo test --verbose --features rusb,mdns diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 2ee7059..1b0b08c 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -36,7 +36,7 @@ jobs: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} - name: Build release - run: cargo build --all-features --release + run: cargo build -p adb_cli --release - name: Rename binary run: mv target/release/adb_cli target/release/adb_cli-linux @@ -69,7 +69,7 @@ jobs: override: true - name: Build release - run: cargo build --all-features --release + run: cargo build -p adb_cli --release - name: Rename binary run: mv target/release/adb_cli target/release/adb_cli-macos @@ -98,7 +98,7 @@ jobs: python-version: "3.10" - name: Build release - run: cargo build --all-features --release + run: cargo build -p adb_cli --release - name: Rename binary run: Rename-Item -Path target/release/adb_cli.exe -NewName adb_cli-windows.exe