{"id":36974810,"url":"https://github.com/cool-japan/oxiblas","last_synced_at":"2026-03-07T08:14:28.293Z","repository":{"id":330909741,"uuid":"1118627448","full_name":"cool-japan/oxiblas","owner":"cool-japan","description":"OxiBLAS is a production-grade, pure Rust implementation of BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra PACKage). Designed as the foundational linear algebra library for the SciRS2 scientific computing ecosystem.","archived":false,"fork":false,"pushed_at":"2025-12-29T21:02:13.000Z","size":1281,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-31T18:42:35.494Z","etag":null,"topics":["blas","lapack","linalg","linear-algebra","rust","rust-crate","rust-lang"],"latest_commit_sha":null,"homepage":"https://github.com/cool-japan/oxiblas","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cool-japan.png","metadata":{"files":{"readme":".github/README-internal.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-18T03:39:14.000Z","updated_at":"2025-12-28T14:18:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cool-japan/oxiblas","commit_stats":null,"previous_names":["cool-japan/oxiblas"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cool-japan/oxiblas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-japan%2Foxiblas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-japan%2Foxiblas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-japan%2Foxiblas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-japan%2Foxiblas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cool-japan","download_url":"https://codeload.github.com/cool-japan/oxiblas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cool-japan%2Foxiblas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blas","lapack","linalg","linear-algebra","rust","rust-crate","rust-lang"],"created_at":"2026-01-13T22:02:16.583Z","updated_at":"2026-01-13T22:02:16.636Z","avatar_url":"https://github.com/cool-japan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OxiBLAS CI/CD Infrastructure\n\nThis directory contains GitHub Actions workflows for automated testing, benchmarking, and releasing.\n\n## Workflows\n\n### CI (`ci.yml`)\nRuns on every push and pull request to `main` and `develop` branches.\n\n**Jobs:**\n- **test**: Runs test suite on Ubuntu, macOS, and Windows with stable and nightly Rust\n  - All features enabled\n  - No default features\n  - Doc tests\n- **clippy**: Linting with `-D warnings` (zero-tolerance policy)\n- **fmt**: Code formatting checks\n- **docs**: Documentation build with broken link detection\n- **coverage**: Code coverage via tarpaulin, uploaded to Codecov\n- **security-audit**: Dependency vulnerability scanning via `cargo-audit`\n\n### Benchmarks (`benchmarks.yml`)\nPerformance tracking and regression detection.\n\n**Triggers:**\n- Push to `main`\n- Pull requests to `main`\n- Weekly schedule (Sunday 00:00 UTC)\n- Manual dispatch\n\n**Jobs:**\n- **benchmark**: Runs all benchmark suites on Ubuntu and macOS\n  - BLAS Level 1/2/3\n  - GEMM variants\n  - Sparse operations\n  - LAPACK operations\n  - Results stored as artifacts for 30 days\n- **benchmark-compare**: PR comparison against base branch\n  - Runs baseline on base branch\n  - Compares PR performance\n  - Reports significant regressions\n- **performance-tracking**: Long-term performance data (main branch only)\n  - Stores results for 90 days\n  - Tracks GEMM and BLAS3 performance over time\n- **benchmark-matrix**: Comprehensive benchmarking (weekly/manual)\n  - Full benchmark suite\n  - All matrix sizes\n  - Results retained for 90 days\n\n### Release (`release.yml`)\nAutomated release process triggered by version tags (`v*`).\n\n**Jobs:**\n- **create-release**: Creates GitHub release with changelog\n- **publish-crates**: Sequential publication to crates.io\n  - Publishes in dependency order with 30s delays\n  - oxiblas-core → oxiblas-matrix → oxiblas-blas → oxiblas-lapack → oxiblas-sparse → oxiblas-ffi → oxiblas-ndarray → oxiblas\n- **build-documentation**: Builds and deploys rustdoc to GitHub Pages\n\n## Performance Tracking\n\n### Artifacts Retention\n- **Benchmark results**: 30 days (regular runs)\n- **Performance data**: 90 days (tracking trends)\n- **Comprehensive benchmarks**: 90 days (weekly/manual)\n\n### Benchmark Comparison\nPull requests automatically compare performance against the base branch for critical operations (BLAS Level 3, GEMM). Significant regressions are flagged in the PR.\n\n### Historical Data\nMain branch benchmarks are stored with commit SHA for long-term performance analysis. Data includes:\n- GEMM performance (f32/f64/c32/c64)\n- BLAS Level 3 operations (SYRK, TRSM, etc.)\n- Sparse operations\n\n## Usage\n\n### Running Benchmarks Manually\n```bash\ngh workflow run benchmarks.yml\n```\n\n### Triggering a Release\n```bash\ngit tag v0.1.0\ngit push origin v0.1.0\n```\n\n### Viewing Benchmark Results\n1. Navigate to Actions tab in GitHub\n2. Select \"Performance Benchmarks\" workflow\n3. Click on a run\n4. Download artifacts under \"Artifacts\" section\n5. Open `criterion/report/index.html` in browser\n\n## Required Secrets\n\nFor full CI/CD functionality, configure these secrets in repository settings:\n\n- `CARGO_REGISTRY_TOKEN`: crates.io API token for publishing\n- GitHub token (automatic): Used for creating releases and deploying docs\n\n## Local Testing\n\nTest workflows locally using [act](https://github.com/nektos/act):\n\n```bash\n# Install act\nbrew install act  # macOS\n# or\nsudo apt install act  # Ubuntu\n\n# Run CI workflow\nact -j test\n\n# Run benchmarks\nact -j benchmark\n```\n\n## Performance Regression Detection\n\nThe benchmark-compare job automatically detects performance regressions in PRs by:\n1. Checking out the base branch\n2. Running baseline benchmarks\n3. Checking out the PR branch\n4. Comparing against baseline\n5. Reporting significant changes (\u003e5% regression)\n\n## Optimization Guidelines\n\n- **Caching**: All workflows cache cargo registry, index, and build artifacts\n- **Matrix strategy**: Tests run in parallel across OS/Rust versions\n- **Conditional execution**: Performance tracking only on main branch\n- **Artifact cleanup**: Automatic cleanup via retention policies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcool-japan%2Foxiblas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcool-japan%2Foxiblas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcool-japan%2Foxiblas/lists"}