37 lines
750 B
YAML
37 lines
750 B
YAML
|
on:
|
||
|
pull_request:
|
||
|
|
||
|
# https://doc.rust-lang.org/cargo/guide/continuous-integration.html
|
||
|
|
||
|
env:
|
||
|
CARGO_TERM_COLOR: always
|
||
|
APORTS_PACKAGES: |
|
||
|
cargo-auditable \
|
||
|
gst-plugins-bad-dev \
|
||
|
gst-plugins-base-dev \
|
||
|
gst-plugins-rs \
|
||
|
gstreamer-dev \
|
||
|
gtk4.0-dev \
|
||
|
libadwaita-dev \
|
||
|
libseccomp-dev \
|
||
|
openssl-dev \
|
||
|
webkit2gtk-6.0-dev
|
||
|
|
||
|
|
||
|
jobs:
|
||
|
test_alpine_edge:
|
||
|
runs-on: docker
|
||
|
container:
|
||
|
image: alpine:edge
|
||
|
steps:
|
||
|
- run: apk add ${{ env.APORTS_PACKAGES }}
|
||
|
- run: cargo test --workspace --all-targets
|
||
|
|
||
|
test_alpine_stable:
|
||
|
runs-on: docker
|
||
|
container:
|
||
|
image: alpine:latest
|
||
|
steps:
|
||
|
- run: apk add ${{ env.APORTS_PACKAGES }}
|
||
|
- run: cargo test --workspace --all-targets
|