feat: initial ci
Some checks failed
/ test_alpine_stable (push) Waiting to run
/ test_alpine_edge (push) Has been cancelled
/ test_alpine_stable (pull_request) Failing after 1m35s
/ test_alpine_edge (pull_request) Failing after 1m37s

This commit is contained in:
jane400 2025-01-25 12:07:16 +01:00 committed by jane400
parent c26e90dbeb
commit 149172e6b0

View file

@ -0,0 +1,39 @@
on:
push:
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 }}
cargo test --workspace --all-targets
test_alpine_stable:
runs-on: docker
container:
image: alpine:latest
steps:
- run: |
apk add ${{ env.APORTS_PACKAGES }}
cargo test --workspace --all-targets