File tree Expand file tree Collapse file tree 6 files changed +53
-34
lines changed Expand file tree Collapse file tree 6 files changed +53
-34
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 : rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
24+ - run : cargo clippy -- -D warnings
25+ - run : cargo fmt --all -- --check
26+
27+ test-macos :
28+ runs-on : macos-latest
29+ steps :
30+ - uses : actions/checkout@v4
31+ with :
32+ submodules : true
33+ - run : |
34+ echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> "${GITHUB_ENV}"
35+ echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> "${GITHUB_ENV}"
36+ echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> "${GITHUB_ENV}"
37+ - run : rustup toolchain install stable --profile=minimal
38+ - run : cargo test
39+
40+ test-ubuntu :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v4
44+ with :
45+ submodules : true
46+ - run : rustup toolchain install stable --profile=minimal
47+ - run : cargo test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[package ]
22name = " netlib-src"
33version = " 0.8.0"
4- license = " Apache-2.0/MIT"
4+ edition = " 2021"
5+ license = " Apache-2.0 OR MIT"
56authors = [
67 " Alexander Bulaev <[email protected] >" ,
78 " 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.
1111## The Apache License
1212
1313```
14- Copyright 2015–2020 The netlib-src Developers
14+ Copyright 2015–2025 The netlib-src Developers
1515
1616Licensed under the Apache License, Version 2.0 (the “License”); you may not use
1717this 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 2015–2020 The netlib-src Developers
31+ Copyright 2015–2025 The netlib-src Developers
3232
3333Permission is hereby granted, free of charge, to any person obtaining a copy of
3434this 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).
2525[ lapack ] : https://en.wikipedia.org/wiki/LAPACK
2626[ netlib ] : http://www.netlib.org/
2727
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
3030[ documentation-img ] : https://docs.rs/netlib-src/badge.svg
3131[ documentation-url ] : https://docs.rs/netlib-src
3232[ 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-
31use cmake:: Config ;
42use std:: path:: Path ;
53use std:: { env, fs} ;
You can’t perform that action at this time.
0 commit comments