Skip to content

Commit

Permalink
use matrix testing (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng authored Dec 5, 2024
1 parent ca95c2d commit 0def9db
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ env:

jobs:
build:
strategy:
matrix:
rust-version: [stable, 1.75]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup rust
run: rustup default ${{ matrix.rust-version }}

- name: Build default features
run: cargo build
- name: Test default features
Expand All @@ -32,10 +38,3 @@ jobs:
- name: Test single_threaded_async
run: cargo test --features single_threaded_async

# Build and test with 1.75
- name: Install Rust 1.75
run: rustup default 1.75
- name: Build default features with Rust 1.75
run: cargo build
- name: Test default features with Rust 1.75
run: cargo test

0 comments on commit 0def9db

Please sign in to comment.