Skip to content

Commit

Permalink
ci: update runners to macos-13 and ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Mar 26, 2024
1 parent bb70b40 commit a1d2eb5
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
macos:
runs-on: macos-10.15
runs-on: macos-13
strategy:
fail-fast: false
matrix:
Expand All @@ -17,22 +17,20 @@ jobs:
- static
- system
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install BLIS by homebrew
run: |
brew install blis
if: ${{ contains(matrix.feature, 'system') }}
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--features=${{ matrix.feature }}
--manifest-path=blis-src/Cargo.toml
- uses: dtolnay/rust-toolchain@stable
- run: >
cargo test
--features=${{ matrix.feature }}
linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: rust
strategy:
Expand All @@ -43,17 +41,15 @@ jobs:
- static
- system
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install BLIS by apt
run: |
apt update
apt install -y libblis-dev
if: ${{ contains(matrix.feature, 'system') }}
- uses: actions-rs/cargo@v1
with:
command: test
args: >
--features=${{ matrix.feature }}
--manifest-path=blis-src/Cargo.toml
- uses: dtolnay/rust-toolchain@stable
- run: >
cargo test
--features=${{ matrix.feature }}

0 comments on commit a1d2eb5

Please sign in to comment.