From 4a89969d40f40f69d03139d66a7a09a5c0b3613e Mon Sep 17 00:00:00 2001 From: _Kerman Date: Mon, 10 Mar 2025 16:25:18 +0800 Subject: [PATCH] ci: run build and test on all three platforms --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dc27719b..8bff27f8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,10 +39,12 @@ jobs: run: cargo dylint --all build: - name: Build - # TODO: Run CI on all three platforms. - runs-on: ubuntu-latest + name: Build (${{ matrix.os }}) + runs-on: ${{ matrix.os }} timeout-minutes: 50 + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v4 - name: Install Rust toolchain