Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SanmerDev committed Jun 20, 2024
1 parent 5af52e0 commit 5f8b244
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -24,12 +25,21 @@ jobs:
run: cargo clippy

test:
name: Test on ${{ matrix.os }}
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
build: [linux-x86_64, windows-x86_64, macos-x86_64, macos-aarch64]
include:
- build: linux-x86_64
os: ubuntu-latest
- build: windows-x86_64
os: windows-latest
- build: macos-x86_64
os: macos-13
- build: macos-aarch64
os: macos-latest

steps:
- name: Checkout
Expand All @@ -38,8 +48,8 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable

- name: Tests (std)
- name: Test
run: cargo test

- name: Tests (no-std)
- name: Test (no-std)
run: cargo test --no-default-features --features alloc

0 comments on commit 5f8b244

Please sign in to comment.