Skip to content

Commit 7cb34af

Browse files
committed
Switch to GitHub Actions
1 parent 0276f89 commit 7cb34af

File tree

6 files changed

+44
-21
lines changed

6 files changed

+44
-21
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
check:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
22+
- run: cargo clippy -- -D warnings
23+
- run: cargo fmt --all -- --check
24+
25+
test:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- run: rustup toolchain install stable --profile=minimal
30+
- run: cargo test

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "lapack"
3-
version = "0.19.0"
4-
license = "Apache-2.0/MIT"
3+
version = "0.20.0"
4+
edition = "2021"
5+
license = "Apache-2.0 OR MIT"
56
authors = [
67
"Andrew Straw <[email protected]>",
78
"Crozet Sébastien <[email protected]>",
@@ -27,5 +28,5 @@ version = "0.4"
2728
default-features = false
2829

2930
[dependencies.lapack-sys]
30-
version = "0.14"
31+
version = "0.15"
3132
default-features = false

LICENSE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The following two notices apply to every file of the project.
1111
## The Apache License
1212

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

3030
```
31-
Copyright 2014–2021 The lapack Developers
31+
Copyright 2014–2025 The lapack Developers
3232
3333
Permission is hereby granted, free of charge, to any person obtaining a copy of
3434
this software and associated documentation files (the “Software”), to deal in

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ will be licensed according to the terms given in [LICENSE.md](LICENSE.md).
4545
[architecture]: https://blas-lapack-rs.github.io/architecture
4646
[lapack]: https://en.wikipedia.org/wiki/LAPACK
4747

48-
[build-img]: https://travis-ci.org/blas-lapack-rs/lapack.svg?branch=master
49-
[build-url]: https://travis-ci.org/blas-lapack-rs/lapack
48+
[build-img]: https://github.com/blas-lapack-rs/lapack/actions/workflows/build.yml/badge.svg
49+
[build-url]: https://github.com/blas-lapack-rs/lapack/actions/workflows/build.yml
5050
[documentation-img]: https://docs.rs/lapack/badge.svg
5151
[documentation-url]: https://docs.rs/lapack
5252
[package-img]: https://img.shields.io/crates/v/lapack.svg

src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@
2727
//! [architecture]: https://blas-lapack-rs.github.io/architecture
2828
//! [lapack]: https://en.wikipedia.org/wiki/LAPACK
2929
30+
#![allow(
31+
clippy::missing_safety_doc,
32+
clippy::missing_transmute_annotations,
33+
clippy::too_many_arguments
34+
)]
35+
3036
extern crate lapack_sys as ffi;
31-
extern crate libc;
3237
extern crate num_complex as num;
3338

3439
use std::mem::transmute;

0 commit comments

Comments
 (0)