Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update r-src version #10

Merged
merged 9 commits into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ jobs:
check:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable, components: "clippy, rustfmt"}
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
- run: cargo clippy -- -D warnings
- run: cargo fmt --all -- --check

Expand All @@ -35,13 +34,18 @@ jobs:
- openblas
steps:
- uses: actions/checkout@v4
- uses: ructions/toolchain@v2
with: {toolchain: stable}
- run: cargo test --features=${{ matrix.feature }}
env:
CC: gcc-12
FC: gfortran-12
LIBRARY_PATH: /usr/local/opt/gcc@12/lib/gcc/12

- name: Export gcc@13 environment variables
run: |
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> $GITHUB_ENV
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV

- name: Install Rust toolchain
run: rustup toolchain install stable --profile=minimal

- name: Run tests
run: cargo test --features=${{ matrix.feature }}

test-ubuntu:
runs-on: ubuntu-latest
Expand All @@ -53,6 +57,5 @@ jobs:
- openblas
steps:
- uses: actions/checkout@v4
- uses: ructions/toolchain@v2
with: {toolchain: stable}
- run: rustup toolchain install stable --profile=minimal
- run: cargo test --features=${{ matrix.feature }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## [0.11.0] - 2025-02-02
### Updated
- Now using `r-src` [v0.2.1]

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lapack-src"
version = "0.10.0"
version = "0.11.0"
license = "Apache-2.0/MIT"
authors = [
"Balasubramanian Narasimhan <[email protected]>",
Expand Down Expand Up @@ -42,5 +42,8 @@ version = "0.10"
optional = true

[dependencies.r-src]
version = "0.1"
version = "0.2.1"
optional = true

[package.metadata.docs.rs]
changelog = "CHANGELOG.md"