balls
Quick CI / quick-test (push) Failing after 1m12s
Multi-Platform CI / test-platforms (ubuntu-22.04) (push) Successful in 6m0s
Multi-Platform CI / test-platforms (windows-latest) (push) Successful in 5m46s
Multi-Platform CI / package (ubuntu-22.04) (push) Successful in 6m21s
Multi-Platform CI / package (windows-latest) (push) Successful in 6m18s
Quick CI / quick-test (push) Failing after 1m12s
Multi-Platform CI / test-platforms (ubuntu-22.04) (push) Successful in 6m0s
Multi-Platform CI / test-platforms (windows-latest) (push) Successful in 5m46s
Multi-Platform CI / package (ubuntu-22.04) (push) Successful in 6m21s
Multi-Platform CI / package (windows-latest) (push) Successful in 6m18s
This commit is contained in:
@@ -34,10 +34,6 @@ jobs:
|
||||
run: |
|
||||
cargo fmt --all -- --check
|
||||
|
||||
- name: Benchmark (Linux only)
|
||||
if: runner.os == 'Linux'
|
||||
run: cargo bench --bench heart
|
||||
|
||||
- name: Security audit (Linux only)
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
@@ -56,10 +52,19 @@ jobs:
|
||||
|
||||
# Determine target directory and library extension
|
||||
TARGET_DIR="target/release"
|
||||
# Map runner.arch to Rust target arch
|
||||
case "${{ runner.arch }}" in
|
||||
ARM64) ARCH_TRIPLE="aarch64" ;;
|
||||
X64) ARCH_TRIPLE="x86_64" ;;
|
||||
*) ARCH_TRIPLE="unknown" ;;
|
||||
esac
|
||||
|
||||
# Compose package basename with OS + arch
|
||||
case "${{ runner.os }}" in
|
||||
Linux) PKG_BASENAME="medicallib_rust-v${VERSION}-x86_64-unknown-linux-gnu" ;;
|
||||
Windows) PKG_BASENAME="medicallib_rust-v${VERSION}-x86_64-pc-windows-msvc" ;;
|
||||
*) PKG_BASENAME="medicallib_rust-v${VERSION}-native" ;;
|
||||
Linux) PKG_BASENAME="medicallib_rust-v${VERSION}-${ARCH_TRIPLE}-unknown-linux-gnu" ;;
|
||||
Windows) PKG_BASENAME="medicallib_rust-v${VERSION}-${ARCH_TRIPLE}-pc-windows-msvc" ;;
|
||||
macOS) PKG_BASENAME="medicallib_rust-v${VERSION}-${ARCH_TRIPLE}-apple-darwin" ;;
|
||||
*) PKG_BASENAME="medicallib_rust-v${VERSION}-native" ;;
|
||||
esac
|
||||
|
||||
PKG_DIR="dist/${PKG_BASENAME}"
|
||||
@@ -90,7 +95,9 @@ jobs:
|
||||
|
||||
- name: Upload artifacts
|
||||
if: inputs.upload-artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
# NOTE: @v4 uses @actions/artifact v2 which is not supported on GHES/Gitea yet.
|
||||
# Pin to v3 for compatibility with Gitea and older GHES runners.
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: medicallib-rust-${{ runner.os }}
|
||||
path: dist/
|
||||
|
||||
Reference in New Issue
Block a user