wf
CI / build (push) Has been cancelled

This commit is contained in:
2025-09-21 02:16:06 -07:00
parent 0502c756c1
commit 08a134193a
+35
View File
@@ -0,0 +1,35 @@
name: CI
on:
push:
pull_request:
jobs:
build:
# Target the self-hosted runner labeled as arm_docker (ubuntu-22.04 capable)
runs-on:
- arm_docker
- ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: |
cd medicallib_rust
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