Skip to content

Commit bff76fe

Browse files
committed
Switch to GitHub Actions
1 parent 2b53cd2 commit bff76fe

File tree

5 files changed

+35
-19
lines changed

5 files changed

+35
-19
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "cblas-sys"
3-
version = "0.1.4"
4-
license = "Apache-2.0/MIT"
3+
version = "0.2.0"
4+
edition = "2021"
5+
license = "Apache-2.0 OR MIT"
56
authors = ["Ivan Ukhov <[email protected]>"]
67
description = "The package provides bindings to CBLAS (C)."
78
documentation = "https://docs.rs/cblas-sys"

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–2020 The cblas-sys Developers
14+
Copyright 2017–2025 The cblas-sys 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–2020 The cblas-sys Developers
31+
Copyright 2017–2025 The cblas-sys 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

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#![allow(non_camel_case_types)]
99
#![no_std]
1010

11-
extern crate libc;
12-
1311
use libc::{c_char, c_double, c_float, c_int};
1412

1513
/// A complex number with 64-bit parts.

0 commit comments

Comments
 (0)