-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from Dirreke/fix-ci
Fix MSRV
- Loading branch information
Showing
6 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ on: | |
|
||
jobs: | ||
windows-msvc: | ||
runs-on: windows-2019 | ||
runs-on: windows-2022 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -82,8 +82,6 @@ jobs: | |
|
||
x86_64-unknown-linux-gnu: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: rust | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -97,19 +95,19 @@ jobs: | |
submodules: "recursive" | ||
- name: Install gfortran by apt | ||
run: | | ||
apt update | ||
apt install -y gfortran | ||
sudo apt update | ||
sudo apt install -y gfortran | ||
- name: Install OpenBLAS by apt | ||
run: | | ||
apt update | ||
apt install -y libopenblas-dev | ||
sudo apt update | ||
sudo apt install -y libopenblas-dev | ||
if: ${{ contains(matrix.feature, 'system') }} | ||
- name: Test features=${{ matrix.feature }} | ||
run: cargo test --features=${{ matrix.feature }} --manifest-path=openblas-src/Cargo.toml | ||
|
||
cross: | ||
name: ${{matrix.target}} (${{matrix.feature}}) | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -132,3 +130,16 @@ jobs: | |
tool: cross | ||
- name: Test features=${{ matrix.feature }} | ||
run: cross test --target ${{matrix.target}} --features=${{ matrix.feature }} --manifest-path=openblas-src/Cargo.toml | ||
msrv-test: | ||
name: MSRV test | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install OpenBLAS by apt | ||
run: | | ||
sudo apt update | ||
sudo apt install -y libopenblas-dev | ||
- name: Install toolchain | ||
uses: dtolnay/[email protected] | ||
- name: cargo test | ||
run: cargo check --manifest-path=openblas-src/Cargo.toml --features=system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ members = [ | |
"openblas-src", | ||
"openblas-build", | ||
] | ||
|
||
[workspace.package] | ||
rust-version = "1.71.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters