File tree 7 files changed +57
-35
lines changed
7 files changed +57
-35
lines changed Original file line number Diff line number Diff line change
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 : macos-latest
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ with :
22
+ submodules : true
23
+ - run : |
24
+ echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> "${GITHUB_ENV}"
25
+ echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> "${GITHUB_ENV}"
26
+ echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> "${GITHUB_ENV}"
27
+ - run : rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
28
+ - run : cargo clippy -- -D warnings
29
+ - run : cargo fmt --all -- --check
30
+
31
+ test-macos :
32
+ runs-on : macos-latest
33
+ steps :
34
+ - uses : actions/checkout@v4
35
+ with :
36
+ submodules : true
37
+ - run : |
38
+ echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> "${GITHUB_ENV}"
39
+ echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> "${GITHUB_ENV}"
40
+ echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> "${GITHUB_ENV}"
41
+ - run : rustup toolchain install stable --profile=minimal
42
+ - run : cargo test
43
+
44
+ test-ubuntu :
45
+ runs-on : ubuntu-latest
46
+ steps :
47
+ - uses : actions/checkout@v4
48
+ with :
49
+ submodules : true
50
+ - run : rustup toolchain install stable --profile=minimal
51
+ - run : cargo test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " netlib-src"
3
3
version = " 0.8.0"
4
- license = " Apache-2.0/MIT"
4
+ edition = " 2021"
5
+ license = " Apache-2.0 OR MIT"
5
6
authors = [
6
7
" Alexander Bulaev <[email protected] >" ,
7
8
" Corey Richardson <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The following two notices apply to every file of the project.
11
11
## The Apache License
12
12
13
13
```
14
- Copyright 2015–2020 The netlib-src Developers
14
+ Copyright 2015–2025 The netlib-src Developers
15
15
16
16
Licensed under the Apache License, Version 2.0 (the “License”); you may not use
17
17
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.
28
28
## The MIT License
29
29
30
30
```
31
- Copyright 2015–2020 The netlib-src Developers
31
+ Copyright 2015–2025 The netlib-src Developers
32
32
33
33
Permission is hereby granted, free of charge, to any person obtaining a copy of
34
34
this software and associated documentation files (the “Software”), to deal in
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ will be licensed according to the terms given in [LICENSE.md](LICENSE.md).
25
25
[ lapack ] : https://en.wikipedia.org/wiki/LAPACK
26
26
[ netlib ] : http://www.netlib.org/
27
27
28
- [ build-img ] : https://travis-ci.org /blas-lapack-rs/netlib-src. svg?branch=master
29
- [ build-url ] : https://travis-ci.org /blas-lapack-rs/netlib-src
28
+ [ build-img ] : https://github.com /blas-lapack-rs/netlib-src/actions/workflows/build.yml/badge. svg
29
+ [ build-url ] : https://github.com /blas-lapack-rs/netlib-src/actions/workflows/build.yml
30
30
[ documentation-img ] : https://docs.rs/netlib-src/badge.svg
31
31
[ documentation-url ] : https://docs.rs/netlib-src
32
32
[ package-img ] : https://img.shields.io/crates/v/netlib-src.svg
Original file line number Diff line number Diff line change 1
- extern crate cmake;
2
-
3
1
use cmake:: Config ;
4
2
use std:: path:: Path ;
5
3
use std:: { env, fs} ;
Original file line number Diff line number Diff line change 1
- extern crate libc;
2
1
extern crate netlib_src;
3
2
4
3
use libc:: c_float;
You can’t perform that action at this time.
0 commit comments