Skip to content

Commit 4fb70a3

Browse files
committed
Switch to GitHub Actions
1 parent de5540e commit 4fb70a3

File tree

6 files changed

+40
-21
lines changed

6 files changed

+40
-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 = "cblas"
3-
version = "0.4.0"
4-
license = "Apache-2.0/MIT"
3+
version = "0.5.0"
4+
edition = "2021"
5+
license = "Apache-2.0 OR MIT"
56
authors = [
67
"Ivan Ukhov <[email protected]>",
78
"Toshiki Teramura <[email protected]>",
@@ -15,6 +16,6 @@ categories = ["api-bindings", "science"]
1516
keywords = ["linear-algebra"]
1617

1718
[dependencies]
18-
cblas-sys = "0.1"
19+
cblas-sys = "0.2"
1920
libc = "0.2"
2021
num-complex = { version = "0.4", 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 2017–2021 The cblas Developers
14+
Copyright 2017–2025 The cblas 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 2017–2021 The cblas Developers
31+
Copyright 2017–2025 The cblas 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
@@ -52,8 +52,8 @@ will be licensed according to the terms given in [LICENSE.md](LICENSE.md).
5252
[architecture]: https://blas-lapack-rs.github.io/architecture
5353
[cblas]: https://en.wikipedia.org/wiki/BLAS
5454

55-
[build-img]: https://travis-ci.org/blas-lapack-rs/cblas.svg?branch=master
56-
[build-url]: https://travis-ci.org/blas-lapack-rs/cblas
55+
[build-img]: https://github.com/blas-lapack-rs/cblas/actions/workflows/build.yml/badge.svg
56+
[build-url]: https://github.com/blas-lapack-rs/cblas/actions/workflows/build.yml
5757
[documentation-img]: https://docs.rs/cblas/badge.svg
5858
[documentation-url]: https://docs.rs/cblas
5959
[package-img]: https://img.shields.io/crates/v/cblas.svg

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
//! [architecture]: https://blas-lapack-rs.github.io/architecture
4545
//! [cblas]: https://en.wikipedia.org/wiki/BLAS
4646
47+
#![allow(clippy::missing_safety_doc, clippy::too_many_arguments)]
48+
4749
extern crate cblas_sys as ffi;
48-
extern crate libc;
4950
extern crate num_complex as num;
5051

5152
/// A complex number with 32-bit parts.

0 commit comments

Comments
 (0)