Skip to content

Commit 673e6d7

Browse files
committed
update CI
1 parent cd70ac1 commit 673e6d7

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/workflows/openblas-build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
- build_no_lapacke
2323
- build_no_shared
2424
- build_openmp
25-
container:
26-
image: rust
2725
env:
2826
RUST_BACKTRACE: 1
2927
steps:
@@ -32,8 +30,8 @@ jobs:
3230
submodules: "recursive"
3331
- name: Install gfortran by apt
3432
run: |
35-
apt update
36-
apt install -y gfortran
33+
sudo apt update
34+
sudo apt install -y gfortran
3735
- name: Common minor tests
3836
run: cargo test --manifest-path=openblas-build/Cargo.toml
3937
- name: Build test

.github/workflows/openblas-src.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
windows-msvc:
22-
runs-on: windows-2019
22+
runs-on: windows-2022
2323
strategy:
2424
fail-fast: false
2525
matrix:
@@ -82,8 +82,6 @@ jobs:
8282

8383
x86_64-unknown-linux-gnu:
8484
runs-on: ubuntu-22.04
85-
container:
86-
image: rust
8785
strategy:
8886
fail-fast: false
8987
matrix:
@@ -97,12 +95,12 @@ jobs:
9795
submodules: "recursive"
9896
- name: Install gfortran by apt
9997
run: |
100-
apt update
101-
apt install -y gfortran
98+
sudo apt update
99+
sudo apt install -y gfortran
102100
- name: Install OpenBLAS by apt
103101
run: |
104-
apt update
105-
apt install -y libopenblas-dev
102+
sudo apt update
103+
sudo apt install -y libopenblas-dev
106104
if: ${{ contains(matrix.feature, 'system') }}
107105
- name: Test features=${{ matrix.feature }}
108106
run: cargo test --features=${{ matrix.feature }} --manifest-path=openblas-src/Cargo.toml
@@ -139,8 +137,8 @@ jobs:
139137
- uses: actions/checkout@v4
140138
- name: Install OpenBLAS by apt
141139
run: |
142-
apt update
143-
apt install -y libopenblas-dev
140+
sudo apt update
141+
sudo apt install -y libopenblas-dev
144142
- name: Install toolchain
145143
uses: dtolnay/[email protected]
146144
- name: cargo test

0 commit comments

Comments
 (0)