Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

ci: verify musl compilation and migrate test runner to cargo-nextest

Samir Hossains7d39ab5368f1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1d182f4..c197ecd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,6 +23,7 @@ jobs:
with:
toolchain: 1.90.0
components: rustfmt, clippy
+ targets: x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "ci-hygiene"
@@ -41,6 +42,8 @@ jobs:
}
- run: cargo check --all-targets --all-features --locked
- run: cargo clippy --all-targets --all-features --locked -- -D warnings
+ - name: Verify musl target compilation
+ run: cargo check --locked --target x86_64-unknown-linux-musl
- name: Audit dependencies
uses: taiki-e/install-action@v2
with:
@@ -74,10 +77,14 @@ jobs:
with:
prefix-key: "ci-build-test-${{ matrix.os }}"
- run: cargo build --all-features --locked
+ - name: Install cargo-nextest
+ uses: taiki-e/install-action@v2
+ with:
+ tool: cargo-nextest
- name: Run test suite with isolated configuration
env:
MOVIEBOX_CONFIG_DIR: ${{ runner.temp }}/mb_config
MOVIEBOX_DATA_DIR: ${{ runner.temp }}/mb_data
- run: cargo test --all-features --locked
+ run: cargo nextest run --all-features --locked
- name: Smoke-test binary startup
run: cargo run --all-features --locked -- --version