feat: initial ci
This commit is contained in:
parent
c26e90dbeb
commit
12de95ca55
1 changed files with 43 additions and 0 deletions
43
.forgejo/workflows/test.yml
Normal file
43
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
# https://doc.rust-lang.org/cargo/guide/continuous-integration.html
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
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
|
||||||
|
action_checkout_packages: |
|
||||||
|
nodejs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test_alpine_edge:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: alpine:edge
|
||||||
|
steps:
|
||||||
|
- run: apk add ${{ env.action_checkout_packages }}
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: apk add ${{ env.packages }}
|
||||||
|
- run: cargo test --workspace --all-targets
|
||||||
|
|
||||||
|
test_alpine_stable:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
steps:
|
||||||
|
- run: apk add ${{ env.action_checkout_packages }}
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: apk add ${{ env.packages }}
|
||||||
|
- run: cargo test --workspace --all-targets
|
Loading…
Add table
Reference in a new issue