Skip to content

Commit

Permalink
Switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Feb 8, 2025
1 parent 0276f89 commit 7cb34af
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 21 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
steps:
- 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

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile=minimal
- run: cargo test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "lapack"
version = "0.19.0"
license = "Apache-2.0/MIT"
version = "0.20.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
authors = [
"Andrew Straw <strawman@astraw.com>",
"Crozet Sébastien <developer@crozet.re>",
Expand All @@ -27,5 +28,5 @@ version = "0.4"
default-features = false

[dependencies.lapack-sys]
version = "0.14"
version = "0.15"
default-features = false
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The following two notices apply to every file of the project.
## The Apache License

```
Copyright 2014–2021 The lapack Developers
Copyright 2014–2025 The lapack Developers
Licensed under the Apache License, Version 2.0 (the “License”); you may not use
this file except in compliance with the License. You may obtain a copy of the
Expand All @@ -28,7 +28,7 @@ specific language governing permissions and limitations under the License.
## The MIT License

```
Copyright 2014–2021 The lapack Developers
Copyright 2014–2025 The lapack Developers
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ will be licensed according to the terms given in [LICENSE.md](LICENSE.md).
[architecture]: https://blas-lapack-rs.github.io/architecture
[lapack]: https://en.wikipedia.org/wiki/LAPACK

[build-img]: https://travis-ci.org/blas-lapack-rs/lapack.svg?branch=master
[build-url]: https://travis-ci.org/blas-lapack-rs/lapack
[build-img]: https://github.com/blas-lapack-rs/lapack/actions/workflows/build.yml/badge.svg
[build-url]: https://github.com/blas-lapack-rs/lapack/actions/workflows/build.yml
[documentation-img]: https://docs.rs/lapack/badge.svg
[documentation-url]: https://docs.rs/lapack
[package-img]: https://img.shields.io/crates/v/lapack.svg
Expand Down
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@
//! [architecture]: https://blas-lapack-rs.github.io/architecture
//! [lapack]: https://en.wikipedia.org/wiki/LAPACK
#![allow(
clippy::missing_safety_doc,
clippy::missing_transmute_annotations,
clippy::too_many_arguments
)]

extern crate lapack_sys as ffi;
extern crate libc;
extern crate num_complex as num;

use std::mem::transmute;
Expand Down

0 comments on commit 7cb34af

Please sign in to comment.