ci: run the test suite instead of a bare build

`cargo build --all` never built the test or example targets. `cargo test
--workspace --all-targets` compiles everything and will run future tests.
merge-requests/20/merge
Alaric Senat 2026-08-19 14:31:11 +02:00
parent 05e15816d8
commit 2304a20a86
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ variables:
VLC_UBUNTU_IMAGE: registry.videolan.org/vlc-rs-libvlc-stable-ubuntu:20260728042128 VLC_UBUNTU_IMAGE: registry.videolan.org/vlc-rs-libvlc-stable-ubuntu:20260728042128
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
vlc-rs-build: build-linux:
tags: tags:
- docker - docker
- amd64 - amd64
@ -13,4 +13,4 @@ vlc-rs-build:
image: $VLC_UBUNTU_IMAGE image: $VLC_UBUNTU_IMAGE
interruptible: true interruptible: true
script: script:
- cargo build --all - cargo test --workspace --all-targets