From e3297786cdce0caa29618cfa6a4abe8c92826d1c Mon Sep 17 00:00:00 2001 From: rfuzzo Date: Fri, 15 Dec 2023 17:54:24 +0100 Subject: [PATCH] ci --- .github/workflows/rust.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 71c84f5..9750e6c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,13 @@ env: jobs: check: - runs-on: windows-latest + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + build_type: [Release] + steps: - name: checkout uses: actions/checkout@v3 @@ -27,9 +33,5 @@ jobs: toolchain: stable override: true - - uses: actions-rs/cargo@v1 - with: - command: build - - uses: actions-rs/cargo@v1 - with: - command: test + - run: cargo build + - run: cargo test