Files
medicallib_rust/.gitea/workflows/ci.yml
T
zack3d dd9eb361e9
CI / build (push) Failing after 34s
wf
2025-09-21 02:29:36 -07:00

35 lines
805 B
YAML

name: CI
on:
push:
pull_request:
jobs:
build:
# Target the runner using only the labels it already has.
# this will target it correctly in your current setup.
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: |
cargo build --all-features
- name: Test
run: |
cd medicallib_rust
cargo test --all-features
- name: Clippy
run: |
cd medicallib_rust
cargo clippy --all-targets --all-features -D warnings
- name: Fmt check
run: |
cd medicallib_rust
cargo fmt --all -- --check
- name: Package (ffi)
run: |
cd medicallib_rust
bash ../scripts/package.sh